diff --git a/src/generated/forge-mcp/README.md b/src/generated/forge-mcp/README.md index 14482156..ea8992f2 100644 --- a/src/generated/forge-mcp/README.md +++ b/src/generated/forge-mcp/README.md @@ -2,7 +2,7 @@ # MCP tools -3059 tools in 1075 groups. `index.ts` exports them as `tools`, with the runtime in `_/tool.ts` that builds their requests; `_/server.ts` serves them on an `McpServer`. +3032 tools in 1033 groups. `index.ts` exports them as `tools`, with the runtime in `_/tool.ts` that builds their requests; `_/server.ts` serves them on an `McpServer`. ## Methods without a tool @@ -16,7 +16,6 @@ | `POST` | `/accounts/{account_id}/images/v2/direct_upload` | the request body is not JSON (multipart/form-data) | | `PUT` | `/accounts/{account_id}/intel/indicator-feeds/{feed_id}/snapshot` | the request body is not JSON (multipart/form-data) | | `PUT` | `/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}` | the request body is not JSON (application/octet-stream, multipart/form-data) | -| `POST` | `/accounts/{account_id}/brand-protection/logos` | the request body is not JSON (application/x-www-form-urlencoded) | | `POST` | `/{account_or_zone}/{account_or_zone_id}/logs/explorer/query/sql` | the request body is not JSON (text/plain) | | `POST` | `/accounts/{account_id}/pages/projects/{project_name}/deployments` | the request body is not JSON (multipart/form-data) | | `POST` | `/accounts/{account_id}/pay-per-use/usage-reports` | the request body is not JSON (application/jsonl) | diff --git a/src/generated/forge-mcp/abuseReports/outputs.ts b/src/generated/forge-mcp/abuseReports/outputs.ts index c8271999..f40688e1 100644 --- a/src/generated/forge-mcp/abuseReports/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/outputs.ts @@ -482,6 +482,59 @@ export const abuse_reports_PortsProtocolError_output: JsonSchema = { "type": "string" }; +/** + * The schema of `abuse-reports_RateLimitedError` in responses. + */ +export const abuse_reports_RateLimitedError_output: JsonSchema = { + "type": "string" +}; + +/** + * The schema of `abuse-reports_RateLimitedErrorResponse` in responses. + */ +export const abuse_reports_RateLimitedErrorResponse_output: JsonSchema = { + "properties": { + "err_code": { + "$ref": "#/$defs/abuse-reports_RateLimitedError" + }, + "error_code": { + "$ref": "#/$defs/abuse-reports_RateLimitedError" + }, + "msg": { + "type": "string" + }, + "request": { + "$ref": "#/$defs/abuse-reports_RateLimitedErrorResponse_request" + }, + "result": { + "type": "string" + } + }, + "required": [ + "err_code", + "error_code", + "msg", + "request", + "result" + ], + "type": "object" +}; + +/** + * The schema of `abuse-reports_RateLimitedErrorResponse_request` in responses. + */ +export const abuse_reports_RateLimitedErrorResponse_request_output: JsonSchema = { + "properties": { + "act": { + "$ref": "#/$defs/abuse-reports_SubmissionReportType" + } + }, + "required": [ + "act" + ], + "type": "object" +}; + /** * The schema of `abuse-reports_RegistrarWhoIsFields` in responses. */ diff --git a/src/generated/forge-mcp/abuseReports/tools.ts b/src/generated/forge-mcp/abuseReports/tools.ts index c8d627cd..7580852e 100644 --- a/src/generated/forge-mcp/abuseReports/tools.ts +++ b/src/generated/forge-mcp/abuseReports/tools.ts @@ -36,6 +36,9 @@ import { abuse_reports_NoOriginalWorkError_output, abuse_reports_NoSigError_output, abuse_reports_PortsProtocolError_output, + abuse_reports_RateLimitedErrorResponse_output, + abuse_reports_RateLimitedErrorResponse_request_output, + abuse_reports_RateLimitedError_output, abuse_reports_RegistrarWhoIsFields_output, abuse_reports_ReportStatus_output, abuse_reports_ReportType_output, @@ -150,6 +153,9 @@ export const tools: readonly Tool[] = [ "403": { "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" }, + "429": { + "$ref": "#/$defs/abuse-reports_RateLimitedErrorResponse" + }, "500": { "$ref": "#/$defs/abuse-reports_SubmitErrorResponse" } @@ -186,6 +192,9 @@ export const tools: readonly Tool[] = [ "abuse-reports_NoOriginalWorkError": abuse_reports_NoOriginalWorkError_output, "abuse-reports_NoSigError": abuse_reports_NoSigError_output, "abuse-reports_PortsProtocolError": abuse_reports_PortsProtocolError_output, + "abuse-reports_RateLimitedError": abuse_reports_RateLimitedError_output, + "abuse-reports_RateLimitedErrorResponse": abuse_reports_RateLimitedErrorResponse_output, + "abuse-reports_RateLimitedErrorResponse_request": abuse_reports_RateLimitedErrorResponse_request_output, "abuse-reports_SubmissionReportType": abuse_reports_SubmissionReportType_output, "abuse-reports_SubmitErrorResponse": abuse_reports_SubmitErrorResponse_output, "abuse-reports_SubmitErrorResponse_request": abuse_reports_SubmitErrorResponse_request_output, diff --git a/src/generated/forge-mcp/accounts/billing/tools.ts b/src/generated/forge-mcp/accounts/billing/tools.ts index 69432586..3d56e759 100644 --- a/src/generated/forge-mcp/accounts/billing/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/tools.ts @@ -412,81 +412,6 @@ export const tools: readonly Tool[] = [ path: `/accounts/${pathParam(args, "account_id")}/billing/unpaid-invoice`, }), }, - { - name: "accounts_billing_pay_bad_debt", - title: "Pay Bad Debt", - description: "Pays outstanding bad debt for an account. Discovers all debt automatically and handles invoice deduplication.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Identifier", - "type": "string" - }, - "body": { - "properties": { - "payment_method_id": { - "description": "The payment method to use. If omitted, the default payment method is used.", - "type": "string" - } - }, - "type": "object" - } - }, - required: [ - "account_id", - "body" - ], - }, - outputSchema: { - "properties": { - "client_secret": { - "type": "string" - } - }, - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Pay Bad Debt" - }, - method: "POST", - path: "/accounts/{account_id}/pay-bad-debt", - extensions: { - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } - }, - responses: { - schemas: { - "200": { - "properties": { - "client_secret": { - "type": "string" - } - }, - "type": "object" - }, - "4XX": { - "$ref": "#/$defs/bill-subs-api_api-response-common-failure" - } - }, - $defs: { - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/pay-bad-debt`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, { name: "accounts_billing_pay_invoice", title: "Pay Invoice", diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts index e6812c4b..f74258d6 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts @@ -112,7 +112,17 @@ export const dls_region_key_output: JsonSchema = { export const dls_regional_hostname_response_output: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/dls_timestamp" + "allOf": [ + { + "$ref": "#/$defs/dls_timestamp" + }, + { + "type": "string" + }, + { + "type": "string" + } + ] }, "hostname": { "$ref": "#/$defs/dls_hostname" diff --git a/src/generated/forge-mcp/aiGateway/gateways/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/tools.ts index 51793693..e81bc89b 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/tools.ts @@ -835,6 +835,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -1565,6 +1593,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -2327,6 +2383,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -3057,6 +3141,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -3811,6 +3923,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -4542,6 +4682,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -5405,6 +5573,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -6150,6 +6346,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -7614,6 +7838,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { @@ -8344,6 +8596,34 @@ export const tools: readonly Tool[] = [ } ] }, + "fedramp_level": { + "oneOf": [ + { + "enum": [ + "fedramp-medium", + "fedramp-high" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "fedramp_mode": { + "oneOf": [ + { + "enum": [ + "prefer", + "require" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, "guardrails": { "oneOf": [ { diff --git a/src/generated/forge-mcp/aiSearch/items/tools.ts b/src/generated/forge-mcp/aiSearch/items/tools.ts index f4eb17b6..92fec1a5 100644 --- a/src/generated/forge-mcp/aiSearch/items/tools.ts +++ b/src/generated/forge-mcp/aiSearch/items/tools.ts @@ -72,6 +72,19 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, + "media_end_ms": { + "type": "integer" + }, + "media_start_ms": { + "type": "integer" + }, + "source_media_type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, "start_byte": { "type": "number" }, @@ -185,6 +198,19 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, + "media_end_ms": { + "type": "integer" + }, + "media_start_ms": { + "type": "integer" + }, + "source_media_type": { + "enum": [ + "audio", + "video" + ], + "type": "string" + }, "start_byte": { "type": "number" }, diff --git a/src/generated/forge-mcp/alerts/clear/tools.ts b/src/generated/forge-mcp/alerts/clear/tools.ts deleted file mode 100644 index b49d56a5..00000000 --- a/src/generated/forge-mcp/alerts/clear/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; - -/** - * The tools of `alerts.clear`. - */ -export const tools: readonly Tool[] = [ - { - name: "alerts_clear_edit", - title: "Update verification statuses of tracked URLs to awaiting by ID", - description: "Return a success message after updating verification statuses of tracked URLs to awaiting by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update verification statuses of tracked URLs to awaiting by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/alerts/clear", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts/clear`, - }), - }, -]; diff --git a/src/generated/forge-mcp/alerts/refute/tools.ts b/src/generated/forge-mcp/alerts/refute/tools.ts deleted file mode 100644 index 00cc3184..00000000 --- a/src/generated/forge-mcp/alerts/refute/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; - -/** - * The tools of `alerts.refute`. - */ -export const tools: readonly Tool[] = [ - { - name: "alerts_refute_edit", - title: "Update verification statuses of tracked URLs to disproven by ID", - description: "Return a success message after updating verification statuses of tracked URLs to disproven by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update verification statuses of tracked URLs to disproven by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/alerts/refute", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts/refute`, - }), - }, -]; diff --git a/src/generated/forge-mcp/alerts/tools.ts b/src/generated/forge-mcp/alerts/tools.ts deleted file mode 100644 index 5f112874..00000000 --- a/src/generated/forge-mcp/alerts/tools.ts +++ /dev/null @@ -1,98 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `alerts`. - */ -export const tools: readonly Tool[] = [ - { - name: "alerts_edit", - title: "Update alerts on submitted domains by ID", - description: "Return a success message after updating alerts on submitted domains by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update alerts on submitted domains by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/alerts", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts`, - }), - }, - { - name: "alerts_get", - title: "Read all alerts on submitted domains", - description: "Return all alerts on submitted domains", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read all alerts on submitted domains" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/alerts", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts`, - }), - }, -]; diff --git a/src/generated/forge-mcp/alerts/verify/tools.ts b/src/generated/forge-mcp/alerts/verify/tools.ts deleted file mode 100644 index 8bdb8de5..00000000 --- a/src/generated/forge-mcp/alerts/verify/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; - -/** - * The tools of `alerts.verify`. - */ -export const tools: readonly Tool[] = [ - { - name: "alerts_verify_edit", - title: "Update verification statuses of tracked URLs to confirmed by ID", - description: "Return a success message after updating verification statuses of tracked URLs to confirmed by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update verification statuses of tracked URLs to confirmed by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/alerts/verify", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/alerts/verify`, - }), - }, -]; diff --git a/src/generated/forge-mcp/brands/patterns/tools.ts b/src/generated/forge-mcp/brands/patterns/tools.ts deleted file mode 100644 index 34f276a2..00000000 --- a/src/generated/forge-mcp/brands/patterns/tools.ts +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; - -/** - * The tools of `brands.patterns`. - */ -export const tools: readonly Tool[] = [ - { - name: "brands_patterns_create", - title: "Create new patterns for brands by ID", - description: "Return a success message after creating new patterns for brands by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new patterns for brands by ID" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/brands/patterns", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands/patterns`, - }), - }, - { - name: "brands_patterns_delete", - title: "Delete patterns for brands by ID", - description: "Return a success message after deleting patterns for brands by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete patterns for brands by ID" - }, - method: "DELETE", - path: "/accounts/{account_id}/brand-protection/brands/patterns", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands/patterns`, - }), - }, - { - name: "brands_patterns_get", - title: "Read patterns for brands by ID", - description: "Return patterns for brands based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read patterns for brands by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/brands/patterns", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands/patterns`, - }), - }, -]; diff --git a/src/generated/forge-mcp/brands/tools.ts b/src/generated/forge-mcp/brands/tools.ts deleted file mode 100644 index 42296593..00000000 --- a/src/generated/forge-mcp/brands/tools.ts +++ /dev/null @@ -1,141 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `brands`. - */ -export const tools: readonly Tool[] = [ - { - name: "brands_create", - title: "Create new brands", - description: "Return new brands", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new brands" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/brands", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands`, - }), - }, - { - name: "brands_delete", - title: "Delete brands by ID", - description: "Return a success message after deleting brands by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete brands by ID" - }, - method: "DELETE", - path: "/accounts/{account_id}/brand-protection/brands", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands`, - }), - }, - { - name: "brands_get", - title: "Read all brands", - description: "Return all brands", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read all brands" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/brands", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/brands`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts new file mode 100644 index 00000000..f8f94e47 --- /dev/null +++ b/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts @@ -0,0 +1,55 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_batch_item_result` in + * responses. + */ +export const cache_settings_origin_cloud_region_v2_batch_item_result_output: JsonSchema = { + "properties": { + "error": { + "type": "string" + }, + "origin_ip": { + "type": "string" + }, + "region": { + "type": "string" + }, + "vendor": { + "type": "string" + } + }, + "required": [ + "origin_ip" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_origin_cloud_region_v2_batch_result` in + * responses. + */ +export const cache_settings_origin_cloud_region_v2_batch_result_output: JsonSchema = { + "properties": { + "failed": { + "items": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_item_result" + }, + "type": "array" + }, + "succeeded": { + "items": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_item_result" + }, + "type": "array" + } + }, + "required": [ + "failed", + "succeeded" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts new file mode 100644 index 00000000..c9128b0b --- /dev/null +++ b/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts @@ -0,0 +1,160 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../../outputs.js"; +import { cache_settings_origin_cloud_region_v2_request } from "../schemas.js"; +import { + cache_settings_origin_cloud_region_v2_batch_item_result_output, + cache_settings_origin_cloud_region_v2_batch_result_output, +} from "./outputs.js"; + +/** + * The tools of `cache.origin_cloud_regions.bulk`. + */ +export const tools: readonly Tool[] = [ + { + name: "cache_origin_cloud_regions_bulk_delete", + title: "Batch delete origin cloud region mappings", + description: "Removes up to 100 IP-to-cloud-region mappings in a single request. Each IP is validated independently — successfully deleted items are returned in the `succeeded` array and IPs that could not be found or are invalid are returned in the `failed` array.\n\nConfirm with the user before calling this tool. Are you sure you want to delete these Origin Cloud Region configurations?", + inputSchema: { + type: "object", + properties: { + "body": { + "items": { + "type": "string" + }, + "maxItems": 100, + "type": "array" + }, + "zone_id": { + "description": "Identifier.", + "type": "string" + } + }, + required: [ + "zone_id", + "body" + ], + }, + outputSchema: { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result", + $defs: { + "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, + "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, + }, + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Batch delete origin cloud region mappings" + }, + method: "DELETE", + path: "/zones/{zone_id}/origin/cloud_regions/batch", + extensions: { + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, + "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, + }, + }, + request: (args) => ({ + path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/batch`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cache_origin_cloud_regions_bulk_update", + title: "Batch create or replace origin cloud region mappings", + description: "Upserts up to 100 IP-to-cloud-region mappings in a single request. Items in the request body are created or replaced; mappings not included in the request body are preserved unchanged (this is a merge operation, not a full collection replacement). Each item is validated independently — valid items are applied and invalid items are returned in the `failed` array. The vendor and region for every item are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`.", + inputSchema: { + type: "object", + properties: { + "body": { + "items": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_request" + }, + "maxItems": 100, + "type": "array" + }, + "zone_id": { + "description": "Identifier.", + "type": "string" + } + }, + required: [ + "zone_id", + "body" + ], + $defs: { + "cache-settings_origin_cloud_region_v2_request": cache_settings_origin_cloud_region_v2_request, + }, + }, + outputSchema: { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result", + $defs: { + "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, + "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, + }, + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Batch create or replace origin cloud region mappings" + }, + method: "PUT", + path: "/zones/{zone_id}/origin/cloud_regions/batch", + extensions: { + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, + "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, + }, + }, + request: (args) => ({ + path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/batch`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, +]; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts index 8ff9e22d..b0a20d2a 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts @@ -3,57 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `cache-settings_origin_cloud_region_v2_batch_item_result` in - * responses. - */ -export const cache_settings_origin_cloud_region_v2_batch_item_result_output: JsonSchema = { - "properties": { - "error": { - "type": "string" - }, - "origin_ip": { - "type": "string" - }, - "region": { - "type": "string" - }, - "vendor": { - "type": "string" - } - }, - "required": [ - "origin_ip" - ], - "type": "object" -}; - -/** - * The schema of `cache-settings_origin_cloud_region_v2_batch_result` in - * responses. - */ -export const cache_settings_origin_cloud_region_v2_batch_result_output: JsonSchema = { - "properties": { - "failed": { - "items": { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_item_result" - }, - "type": "array" - }, - "succeeded": { - "items": { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_item_result" - }, - "type": "array" - } - }, - "required": [ - "failed", - "succeeded" - ], - "type": "object" -}; - /** * The schema of `cache-settings_origin_cloud_region_v2_delete_result` in * responses. @@ -134,50 +83,3 @@ export const cache_settings_origin_cloud_region_v2_result_info_output: JsonSchem ], "type": "object" }; - -/** - * The schema of `cache-settings_supported_cloud_region` in responses. - */ -export const cache_settings_supported_cloud_region_output: JsonSchema = { - "properties": { - "name": { - "type": "string" - }, - "upper_tier_colos": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "name", - "upper_tier_colos" - ], - "type": "object" -}; - -/** - * The schema of `cache-settings_supported_cloud_regions_result` in responses. - */ -export const cache_settings_supported_cloud_regions_result_output: JsonSchema = { - "properties": { - "obtained_codes": { - "type": "boolean" - }, - "vendors": { - "additionalProperties": { - "items": { - "$ref": "#/$defs/cache-settings_supported_cloud_region" - }, - "type": "array" - }, - "type": "object" - } - }, - "required": [ - "obtained_codes", - "vendors" - ], - "type": "object" -}; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts new file mode 100644 index 00000000..1932e6a9 --- /dev/null +++ b/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts @@ -0,0 +1,51 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `cache-settings_supported_cloud_region` in responses. + */ +export const cache_settings_supported_cloud_region_output: JsonSchema = { + "properties": { + "name": { + "type": "string" + }, + "upper_tier_colos": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name", + "upper_tier_colos" + ], + "type": "object" +}; + +/** + * The schema of `cache-settings_supported_cloud_regions_result` in responses. + */ +export const cache_settings_supported_cloud_regions_result_output: JsonSchema = { + "properties": { + "obtained_codes": { + "type": "boolean" + }, + "vendors": { + "additionalProperties": { + "items": { + "$ref": "#/$defs/cache-settings_supported_cloud_region" + }, + "type": "array" + }, + "type": "object" + } + }, + "required": [ + "obtained_codes", + "vendors" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts new file mode 100644 index 00000000..0f8466a4 --- /dev/null +++ b/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts @@ -0,0 +1,78 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import { type Tool, pathParam } from "../../../_/tool.js"; +import { + cache_settings_api_response_common_failure_output, + cache_settings_messages_output, +} from "../../../outputs.js"; +import { + cache_settings_supported_cloud_region_output, + cache_settings_supported_cloud_regions_result_output, +} from "./outputs.js"; + +/** + * The tools of `cache.origin_cloud_regions.regions`. + */ +export const tools: readonly Tool[] = [ + { + name: "cache_origin_cloud_regions_regions_list_supported", + title: "List supported cloud vendors and regions", + description: "Returns the cloud vendors and regions that are valid values for origin cloud region mappings. Each region includes the Tiered Cache upper-tier colocation codes that will be used for cache routing when a mapping targeting that region is active. Requires the zone to have Tiered Cache enabled.", + inputSchema: { + type: "object", + properties: { + "zone_id": { + "description": "Identifier.", + "type": "string" + } + }, + required: [ + "zone_id" + ], + }, + outputSchema: { + "$ref": "#/$defs/cache-settings_supported_cloud_regions_result", + $defs: { + "cache-settings_supported_cloud_region": cache_settings_supported_cloud_region_output, + "cache-settings_supported_cloud_regions_result": cache_settings_supported_cloud_regions_result_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List supported cloud vendors and regions" + }, + method: "GET", + path: "/zones/{zone_id}/origin/cloud_regions/supported_regions", + extensions: { + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_supported_cloud_regions_result" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + "cache-settings_supported_cloud_region": cache_settings_supported_cloud_region_output, + "cache-settings_supported_cloud_regions_result": cache_settings_supported_cloud_regions_result_output, + }, + }, + request: (args) => ({ + path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/supported_regions`, + }), + }, +]; diff --git a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts index 2975f90f..0bd9eb7b 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts @@ -7,13 +7,9 @@ import { cache_settings_messages_output, } from "../../outputs.js"; import { - cache_settings_origin_cloud_region_v2_batch_item_result_output, - cache_settings_origin_cloud_region_v2_batch_result_output, cache_settings_origin_cloud_region_v2_delete_result_output, cache_settings_origin_cloud_region_v2_entry_output, cache_settings_origin_cloud_region_v2_result_info_output, - cache_settings_supported_cloud_region_output, - cache_settings_supported_cloud_regions_result_output, } from "./outputs.js"; import { cache_settings_origin_cloud_region_v2_request } from "./schemas.js"; @@ -21,147 +17,6 @@ import { cache_settings_origin_cloud_region_v2_request } from "./schemas.js"; * The tools of `cache.origin_cloud_regions`. */ export const tools: readonly Tool[] = [ - { - name: "cache_origin_cloud_regions_bulk_delete", - title: "Batch delete origin cloud region mappings", - description: "Removes up to 100 IP-to-cloud-region mappings in a single request. Each IP is validated independently — successfully deleted items are returned in the `succeeded` array and IPs that could not be found or are invalid are returned in the `failed` array.\n\nConfirm with the user before calling this tool. Are you sure you want to delete these Origin Cloud Region configurations?", - inputSchema: { - type: "object", - properties: { - "body": { - "items": { - "type": "string" - }, - "maxItems": 100, - "type": "array" - }, - "zone_id": { - "description": "Identifier.", - "type": "string" - } - }, - required: [ - "zone_id", - "body" - ], - }, - outputSchema: { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result", - $defs: { - "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, - "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, - }, - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Batch delete origin cloud region mappings" - }, - method: "DELETE", - path: "/zones/{zone_id}/origin/cloud_regions/batch", - extensions: { - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result" - }, - "4XX": { - "$ref": "#/$defs/cache-settings_api-response-common-failure" - } - }, - $defs: { - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, - "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, - }, - }, - request: (args) => ({ - path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/batch`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "cache_origin_cloud_regions_bulk_update", - title: "Batch create or replace origin cloud region mappings", - description: "Upserts up to 100 IP-to-cloud-region mappings in a single request. Items in the request body are created or replaced; mappings not included in the request body are preserved unchanged (this is a merge operation, not a full collection replacement). Each item is validated independently — valid items are applied and invalid items are returned in the `failed` array. The vendor and region for every item are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`.", - inputSchema: { - type: "object", - properties: { - "body": { - "items": { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_request" - }, - "maxItems": 100, - "type": "array" - }, - "zone_id": { - "description": "Identifier.", - "type": "string" - } - }, - required: [ - "zone_id", - "body" - ], - $defs: { - "cache-settings_origin_cloud_region_v2_request": cache_settings_origin_cloud_region_v2_request, - }, - }, - outputSchema: { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result", - $defs: { - "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, - "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, - }, - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Batch create or replace origin cloud region mappings" - }, - method: "PUT", - path: "/zones/{zone_id}/origin/cloud_regions/batch", - extensions: { - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_batch_result" - }, - "4XX": { - "$ref": "#/$defs/cache-settings_api-response-common-failure" - } - }, - $defs: { - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_cloud_region_v2_batch_item_result": cache_settings_origin_cloud_region_v2_batch_item_result_output, - "cache-settings_origin_cloud_region_v2_batch_result": cache_settings_origin_cloud_region_v2_batch_result_output, - }, - }, - request: (args) => ({ - path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/batch`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, { name: "cache_origin_cloud_regions_delete", title: "Delete an origin cloud region mapping", @@ -390,66 +245,6 @@ export const tools: readonly Tool[] = [ ], }), }, - { - name: "cache_origin_cloud_regions_supported_regions", - title: "List supported cloud vendors and regions", - description: "Returns the cloud vendors and regions that are valid values for origin cloud region mappings. Each region includes the Tiered Cache upper-tier colocation codes that will be used for cache routing when a mapping targeting that region is active. Requires the zone to have Tiered Cache enabled.", - inputSchema: { - type: "object", - properties: { - "zone_id": { - "description": "Identifier.", - "type": "string" - } - }, - required: [ - "zone_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/cache-settings_supported_cloud_regions_result", - $defs: { - "cache-settings_supported_cloud_region": cache_settings_supported_cloud_region_output, - "cache-settings_supported_cloud_regions_result": cache_settings_supported_cloud_regions_result_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List supported cloud vendors and regions" - }, - method: "GET", - path: "/zones/{zone_id}/origin/cloud_regions/supported_regions", - extensions: { - "x-cfPlanAvailability": { - "business": true, - "enterprise": true, - "free": true, - "pro": true - } - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/cache-settings_supported_cloud_regions_result" - }, - "4XX": { - "$ref": "#/$defs/cache-settings_api-response-common-failure" - } - }, - $defs: { - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_supported_cloud_region": cache_settings_supported_cloud_region_output, - "cache-settings_supported_cloud_regions_result": cache_settings_supported_cloud_regions_result_output, - }, - }, - request: (args) => ({ - path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions/supported_regions`, - }), - }, { name: "cache_origin_cloud_regions_update", title: "Create or replace an origin cloud region mapping", diff --git a/src/generated/forge-mcp/clear/tools.ts b/src/generated/forge-mcp/clear/tools.ts deleted file mode 100644 index b744c39c..00000000 --- a/src/generated/forge-mcp/clear/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `clear`. - */ -export const tools: readonly Tool[] = [ - { - name: "clear_edit", - title: "Update verification statuses of submitted URLs to awaiting by ID", - description: "Return a success message after updating verification statuses of submitted URLs to awaiting by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update verification statuses of submitted URLs to awaiting by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/clear", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/clear`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts deleted file mode 100644 index 8430c5ed..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/aggregate/tools.ts +++ /dev/null @@ -1,238 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.aggregate`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_aggregate_get", - title: "Aggregate events by single or multiple columns with optional date filtering", - description: "Aggregate threat events by one or more columns (e.g., attacker, targetIndustry) with optional date filtering and daily grouping. Supports multi-dimensional aggregation for cross-analysis.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "aggregate_by": { - "description": "Column(s) to aggregate by - single column or comma-separated list (e.g., 'attacker', 'targetIndustry', 'attacker,targetIndustry')", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUIDs to filter by, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets. If not provided, uses the default dataset.", - "items": { - "type": "string" - }, - "type": "array" - }, - "end_date": { - "description": "End date for filtering (ISO 8601 format, e.g., '2024-12-31')", - "type": "string" - }, - "group_by_date": { - "description": "Whether to group results by date (daily aggregation)", - "type": "boolean" - }, - "limit": { - "default": 100, - "description": "Maximum number of results to return", - "type": "number" - }, - "start_date": { - "description": "Start date for filtering (ISO 8601 format, e.g., '2024-01-01')", - "type": "string" - } - }, - required: [ - "account_id", - "aggregate_by" - ], - }, - outputSchema: { - "properties": { - "aggregateBy": { - "type": "string" - }, - "aggregations": { - "items": { - "allOf": [ - { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": "object" - }, - { - "properties": { - "count": { - "type": "number" - }, - "date": { - "type": "string" - } - }, - "required": [ - "count" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "dateRange": { - "properties": { - "endDate": { - "type": "string" - }, - "startDate": { - "type": "string" - } - }, - "type": "object" - }, - "total": { - "type": "number" - } - }, - "required": [ - "aggregateBy", - "aggregations", - "total" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Aggregate events by single or multiple columns with optional date filtering" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/aggregate", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "aggregateBy": { - "type": "string" - }, - "aggregations": { - "items": { - "allOf": [ - { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": "object" - }, - { - "properties": { - "count": { - "type": "number" - }, - "date": { - "type": "string" - } - }, - "required": [ - "count" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "dateRange": { - "properties": { - "endDate": { - "type": "string" - }, - "startDate": { - "type": "string" - } - }, - "type": "object" - }, - "total": { - "type": "number" - } - }, - "required": [ - "aggregateBy", - "aggregations", - "total" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/aggregate`, - query: [ - ["aggregateBy", args["aggregate_by"], true], - ["datasetId", args["dataset_id"], true], - ["startDate", args["start_date"], true], - ["endDate", args["end_date"], true], - ["groupByDate", args["group_by_date"], true], - ["limit", args["limit"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts deleted file mode 100644 index de1af5f7..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/copy/tools.ts +++ /dev/null @@ -1,185 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.copy`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_copy_create", - title: "Copies specified events from one dataset to another dataset", - description: "Copies specified events from one dataset to another dataset", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "destDatasetId": { - "type": "string" - }, - "eventIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "destDatasetId", - "eventIds" - ], - "type": "object" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "keep_raw_data": { - "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied).", - "type": "boolean" - } - }, - required: [ - "account_id", - "dataset_id" - ], - }, - outputSchema: { - "properties": { - "copied": { - "type": "number" - }, - "indicatorsCopied": { - "type": "number" - }, - "insertFailures": { - "items": { - "properties": { - "index": { - "type": "number" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "index", - "reason" - ], - "type": "object" - }, - "type": "array" - }, - "relationshipsCopied": { - "type": "number" - } - }, - "required": [ - "copied", - "indicatorsCopied", - "relationshipsCopied" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Copies specified events from one dataset to another dataset" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/copy", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "copied": { - "type": "number" - }, - "indicatorsCopied": { - "type": "number" - }, - "insertFailures": { - "items": { - "properties": { - "index": { - "type": "number" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "index", - "reason" - ], - "type": "object" - }, - "type": "array" - }, - "relationshipsCopied": { - "type": "number" - } - }, - "required": [ - "copied", - "indicatorsCopied", - "relationshipsCopied" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/copy`, - query: [ - ["keepRawData", args["keep_raw_data"], true], - ], - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts deleted file mode 100644 index d469f71b..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/events/tools.ts +++ /dev/null @@ -1,373 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.events`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_events_get", - title: "Reads an event", - description: "Retrieves a specific event by its UUID.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "dataset_id", - "event_id" - ], - }, - outputSchema: { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "numReferenced": { - "type": "number" - }, - "numReferences": { - "type": "number" - }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "references": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Reads an event" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/events/{event_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "numReferenced": { - "type": "number" - }, - "numReferences": { - "type": "number" - }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "references": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/events/${pathParam(args, "event_id")}`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts deleted file mode 100644 index d302f2ea..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/get/tools.ts +++ /dev/null @@ -1,334 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.groups.get`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_groups_get_group", - title: "List groups for an account", - description: "List groups for an account", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "items": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "name", - "updatedAt", - "uuid" - ], - "type": "object" - }, - "type": "array", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List groups for an account" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "items": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "name", - "updatedAt", - "uuid" - ], - "type": "object" - }, - "type": "array" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups`, - }), - }, - { - name: "cloudforce_one_events_dataset_groups_get_v2", - title: "Read a group for an account", - description: "Read a group for an account", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "group_id": { - "type": "string" - } - }, - required: [ - "account_id", - "group_id" - ], - }, - outputSchema: { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "members": { - "items": { - "properties": { - "accountId": { - "type": "string" - }, - "accountTag": { - "type": "string" - }, - "createdAt": { - "format": "date-time", - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "accountId", - "uuid" - ], - "type": "object" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "members", - "name", - "updatedAt", - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read a group for an account" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "members": { - "items": { - "properties": { - "accountId": { - "type": "string" - }, - "accountTag": { - "type": "string" - }, - "createdAt": { - "format": "date-time", - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "accountId", - "uuid" - ], - "type": "object" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "members", - "name", - "updatedAt", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts deleted file mode 100644 index 6a2f4f4e..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/tools.ts +++ /dev/null @@ -1,393 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.groups`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_groups_create", - title: "Create a group", - description: "Create a group", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "description", - "name" - ], - "type": "object" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "name", - "updatedAt", - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create a group" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "name", - "updatedAt", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "cloudforce_one_events_dataset_groups_delete", - title: "Delete a group for an account", - description: "Delete a group for an account", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "group_id": { - "type": "string" - } - }, - required: [ - "account_id", - "group_id" - ], - }, - outputSchema: { - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "type": "object", - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete a group for an account" - }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, - }), - }, - { - name: "cloudforce_one_events_dataset_groups_update", - title: "Update a group", - description: "Update a group", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "description", - "name" - ], - "type": "object" - }, - "group_id": { - "type": "string" - } - }, - required: [ - "account_id", - "group_id" - ], - }, - outputSchema: { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "name", - "updatedAt", - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update a group" - }, - method: "PUT", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "createdAt", - "description", - "name", - "updatedAt", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts deleted file mode 100644 index f5a0c14a..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/bulk/tools.ts +++ /dev/null @@ -1,172 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.indicators.bulk`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_indicators_bulk_create", - title: "Creates multiple indicators in bulk", - description: "Creates multiple indicators at once with their respective types and related datasets.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "autoCreateType": { - "description": "Global flag to automatically create indicator types if they don't exist. Individual indicators can override this with their own autoCreateType flag.", - "type": "boolean" - }, - "indicators": { - "items": { - "properties": { - "autoCreateType": { - "description": "If true, automatically create the indicator type if it doesn't exist. If false (default), throw an error when the indicator type doesn't exist.", - "type": "boolean" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "tags": { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "categoryName": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "tlp": { - "description": "Traffic Light Protocol designation. Case-insensitive on input, stored and returned as UPPERCASE. Allowed values: clear, green, amber, amber-strict, red, purple.", - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "indicatorType", - "value" - ], - "type": "object" - }, - "type": "array" - } - }, - "required": [ - "indicators" - ], - "type": "object" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - } - }, - required: [ - "account_id", - "dataset_id" - ], - }, - outputSchema: { - "type": "number", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Creates multiple indicators in bulk" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/bulk", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "type": "number" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/bulk`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts deleted file mode 100644 index 131d8c80..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/create/tools.ts +++ /dev/null @@ -1,351 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.indicators.create`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_indicators_create_create", - title: "Creates a new indicator", - description: "Creates a new indicator with the specified type and related datasets.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "autoCreateType": { - "description": "If true, automatically create the indicator type if it doesn't exist. If false (default), throw an error when the indicator type doesn't exist.", - "type": "boolean" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "tags": { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "categoryName": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "tlp": { - "description": "Traffic Light Protocol designation. Case-insensitive on input, stored and returned as UPPERCASE. Allowed values: clear, green, amber, amber-strict, red, purple.", - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "indicatorType", - "value" - ], - "type": "object" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - } - }, - required: [ - "account_id", - "dataset_id" - ], - }, - outputSchema: { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventDate": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "relatedEventsHasMore": { - "type": "boolean" - }, - "tags": { - "items": { - "properties": { - "categoryId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "tlp": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "createdAt", - "indicatorType", - "updatedAt", - "uuid", - "value" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Creates a new indicator" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/create", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventDate": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "relatedEventsHasMore": { - "type": "boolean" - }, - "tags": { - "items": { - "properties": { - "categoryId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "tlp": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "createdAt", - "indicatorType", - "updatedAt", - "uuid", - "value" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/create`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts deleted file mode 100644 index a8559c55..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/get/tools.ts +++ /dev/null @@ -1,289 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.indicators.get`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_indicators_get_indicator", - title: "Reads an indicator", - description: "Retrieves a specific indicator by its UUID.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "dataset_id", - "indicator_id" - ], - }, - outputSchema: { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventDate": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "relatedEventsHasMore": { - "type": "boolean" - }, - "tags": { - "items": { - "properties": { - "categoryId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "tlp": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "createdAt", - "indicatorType", - "updatedAt", - "uuid", - "value" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Reads an indicator" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventDate": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "relatedEventsHasMore": { - "type": "boolean" - }, - "tags": { - "items": { - "properties": { - "categoryId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "tlp": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "createdAt", - "indicatorType", - "updatedAt", - "uuid", - "value" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts deleted file mode 100644 index a19947ba..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tools.ts +++ /dev/null @@ -1,506 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.indicators`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_indicators_delete", - title: "Deletes an indicator", - description: "Deletes a specific indicator by its UUID.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "dataset_id", - "indicator_id" - ], - }, - outputSchema: { - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "type": "object", - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Deletes an indicator" - }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "message": { - "type": "string" - }, - "success": { - "type": "boolean" - } - }, - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, - }), - }, - { - name: "cloudforce_one_events_dataset_indicators_patch", - title: "Updates an indicator", - description: "Updates an existing indicator's properties.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "tags": { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "categoryName": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "tlp": { - "description": "Traffic Light Protocol designation. Case-insensitive on input, stored and returned as UPPERCASE. Allowed values: clear, green, amber, amber-strict, red, purple.", - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "dataset_id", - "indicator_id" - ], - }, - outputSchema: { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventDate": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "relatedEventsHasMore": { - "type": "boolean" - }, - "tags": { - "items": { - "properties": { - "categoryId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "tlp": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "createdAt", - "indicatorType", - "updatedAt", - "uuid", - "value" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates an indicator" - }, - method: "PATCH", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "relatedEvents": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "eventDate": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "datasetId", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "relatedEventsHasMore": { - "type": "boolean" - }, - "tags": { - "items": { - "properties": { - "categoryId": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object" - }, - "type": "array" - }, - "tlp": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "createdAt", - "indicatorType", - "updatedAt", - "uuid", - "value" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - }, - "409": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts deleted file mode 100644 index 27c52f37..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/move/tools.ts +++ /dev/null @@ -1,221 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.dataset.move`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_dataset_move_create", - title: "Moves specified events from one dataset to another dataset", - description: "Moves specified events from one dataset to another dataset", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "destDatasetId": { - "type": "string" - }, - "eventIds": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "destDatasetId", - "eventIds" - ], - "type": "object" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "keep_raw_data": { - "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied). Raw data is always deleted from the source.", - "type": "boolean" - } - }, - required: [ - "account_id", - "dataset_id" - ], - }, - outputSchema: { - "properties": { - "deletionFailures": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "datasetId", - "reason" - ], - "type": "object" - }, - "type": "array" - }, - "indicatorsCopied": { - "type": "number" - }, - "insertFailures": { - "items": { - "properties": { - "index": { - "type": "number" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "index", - "reason" - ], - "type": "object" - }, - "type": "array" - }, - "moved": { - "type": "number" - }, - "relationshipsCopied": { - "type": "number" - } - }, - "required": [ - "indicatorsCopied", - "moved", - "relationshipsCopied" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Moves specified events from one dataset to another dataset" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/move", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "deletionFailures": { - "items": { - "properties": { - "datasetId": { - "type": "string" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "datasetId", - "reason" - ], - "type": "object" - }, - "type": "array" - }, - "indicatorsCopied": { - "type": "number" - }, - "insertFailures": { - "items": { - "properties": { - "index": { - "type": "number" - }, - "reason": { - "type": "string" - } - }, - "required": [ - "index", - "reason" - ], - "type": "object" - }, - "type": "array" - }, - "moved": { - "type": "number" - }, - "relationshipsCopied": { - "type": "number" - } - }, - "required": [ - "indicatorsCopied", - "moved", - "relationshipsCopied" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/move`, - query: [ - ["keepRawData", args["keep_raw_data"], true], - ], - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts deleted file mode 100644 index 8b588f03..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/delete/tools.ts +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.delete`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_delete_delete", - title: "Deletes one or more events", - description: "Deletes one or more events", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "event_ids": { - "description": "Array of Event IDs to delete.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - required: [ - "account_id", - "dataset_id", - "event_ids" - ], - }, - outputSchema: { - "type": "number", - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Deletes one or more events" - }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "type": "number" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events`, - query: [ - ["eventIds", args["event_ids"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts deleted file mode 100644 index 9e0ff557..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/graphql/create/graph/tools.ts +++ /dev/null @@ -1,259 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.graphql.create.graph`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_graphql_create_graph_ql", - title: "GraphQL endpoint for event aggregation", - description: "Execute GraphQL aggregations over threat events. Supports multi-dimensional group-bys, optional date range filtering, and multi-dataset aggregation.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "data": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "errors": { - "oneOf": [ - { - "items": { - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] - } - }, - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "GraphQL endpoint for event aggregation" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/graphql", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "data": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "errors": { - "oneOf": [ - { - "items": { - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] - } - }, - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/graphql`, - }), - }, - { - name: "cloudforce_one_events_graphql_create_graph_qlv2", - title: "GraphQL endpoint for event aggregation", - description: "Execute GraphQL aggregations over threat events. Supports multi-dimensional group-bys, optional date range filtering, and multi-dataset aggregation.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "data": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "errors": { - "oneOf": [ - { - "items": { - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] - } - }, - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "GraphQL endpoint for event aggregation" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/v2/events/graphql", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "data": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "errors": { - "oneOf": [ - { - "items": { - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] - } - }, - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/events/graphql`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts deleted file mode 100644 index ba5d421c..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/indicator/types/tools.ts +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.indicator.types`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_indicator_types_get", - title: "Lists indicator types across multiple datasets", - description: "Lists indicator types across multiple datasets", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_ids": { - "description": "Dataset UUIDs to query, or one standalone scope value: 'operational' for readable intelligence datasets (isAnalytics=false), 'analytics' for readable analytics datasets (isAnalytics=true), or 'all'/'*' for every readable dataset including analytics datasets. If not provided, queries all accessible datasets, including analytics datasets.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "items": { - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "type": "string" - } - }, - "required": [ - "items", - "type" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Lists indicator types across multiple datasets" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/indicator-types", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "items": { - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "type": "string" - } - }, - "required": [ - "items", - "type" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicator-types`, - query: [ - ["datasetIds", args["dataset_ids"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts deleted file mode 100644 index 90b7f00c..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/queries/get/tools.ts +++ /dev/null @@ -1,412 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.queries.get`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_queries_get_event", - title: "List all saved event queries", - description: "Retrieve all saved event queries for the account", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "items": { - "properties": { - "account_id": { - "type": "integer" - }, - "alert_enabled": { - "type": "boolean" - }, - "alert_rollup_enabled": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "custom_threat_feed_id": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "query_json": { - "type": "string" - }, - "rule_enabled": { - "type": "boolean" - }, - "rule_list_id": { - "type": "string" - }, - "rule_scope": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "user_email": { - "type": "string" - } - }, - "required": [ - "account_id", - "alert_enabled", - "alert_rollup_enabled", - "created_at", - "id", - "name", - "query_json", - "rule_enabled", - "updated_at", - "user_email" - ], - "type": "object" - }, - "type": "array", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "List all saved event queries" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/queries", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "items": { - "properties": { - "account_id": { - "type": "integer" - }, - "alert_enabled": { - "type": "boolean" - }, - "alert_rollup_enabled": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "custom_threat_feed_id": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "query_json": { - "type": "string" - }, - "rule_enabled": { - "type": "boolean" - }, - "rule_list_id": { - "type": "string" - }, - "rule_scope": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "user_email": { - "type": "string" - } - }, - "required": [ - "account_id", - "alert_enabled", - "alert_rollup_enabled", - "created_at", - "id", - "name", - "query_json", - "rule_enabled", - "updated_at", - "user_email" - ], - "type": "object" - }, - "type": "array" - }, - "4XX": null, - "500": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries`, - }), - }, - { - name: "cloudforce_one_events_queries_get_v2", - title: "Read a saved event query", - description: "Retrieve a saved event query by its ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "query_id": { - "description": "Event query ID", - "type": "string" - } - }, - required: [ - "account_id", - "query_id" - ], - }, - outputSchema: { - "properties": { - "account_id": { - "type": "integer" - }, - "alert_enabled": { - "type": "boolean" - }, - "alert_rollup_enabled": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "custom_threat_feed_id": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "query_json": { - "type": "string" - }, - "rule_enabled": { - "type": "boolean" - }, - "rule_list_id": { - "type": "string" - }, - "rule_scope": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "user_email": { - "type": "string" - } - }, - "required": [ - "account_id", - "alert_enabled", - "alert_rollup_enabled", - "created_at", - "id", - "name", - "query_json", - "rule_enabled", - "updated_at", - "user_email" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read a saved event query" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/queries/{query_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "account_id": { - "type": "integer" - }, - "alert_enabled": { - "type": "boolean" - }, - "alert_rollup_enabled": { - "type": "boolean" - }, - "created_at": { - "type": "string" - }, - "custom_threat_feed_id": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "id": { - "type": "integer" - }, - "name": { - "type": "string" - }, - "query_json": { - "type": "string" - }, - "rule_enabled": { - "type": "boolean" - }, - "rule_list_id": { - "type": "string" - }, - "rule_scope": { - "type": "string" - }, - "updated_at": { - "type": "string" - }, - "user_email": { - "type": "string" - } - }, - "required": [ - "account_id", - "alert_enabled", - "alert_rollup_enabled", - "created_at", - "id", - "name", - "query_json", - "rule_enabled", - "updated_at", - "user_email" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts deleted file mode 100644 index 5aca6e5b..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/raw/tools.ts +++ /dev/null @@ -1,134 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.raw`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_raw_create", - title: "Updates a raw event", - description: "Updates a raw event", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "data": { - "type": "object" - }, - "source": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "type": "object" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - }, - "raw_id": { - "description": "Raw Event UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "event_id", - "raw_id" - ], - }, - outputSchema: { - "properties": { - "data": { - "type": "object" - }, - "id": { - "type": "string" - } - }, - "required": [ - "data", - "id" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates a raw event" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "data": { - "type": "object" - }, - "id": { - "type": "string" - } - }, - "required": [ - "data", - "id" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}/raw/${pathParam(args, "raw_id")}`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts deleted file mode 100644 index bb61e966..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/relationships/create/tools.ts +++ /dev/null @@ -1,288 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.relationships.create`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_relationships_create_create", - title: "Create a relationship between two events", - description: "Creates a directed relationship between two events. The relationship is from parent to child with a specified type.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "childIds": { - "description": "Array of UUIDs for child events. Single child = 1:1 relationship, multiple = 1:many relationships", - "items": { - "format": "uuid", - "type": "string" - }, - "minItems": 1, - "type": "array" - }, - "datasetId": { - "description": "Dataset identifier where the events are stored", - "type": "string" - }, - "parentId": { - "description": "UUID of the parent event that will be the source of the relationship", - "format": "uuid", - "type": "string" - }, - "relationshipType": { - "description": "Type of relationship to create between parent and child events", - "enum": [ - "related_to", - "caused_by", - "attributed_to" - ], - "type": "string" - } - }, - "required": [ - "childIds", - "datasetId", - "parentId", - "relationshipType" - ], - "type": "object" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "childIds": { - "items": { - "format": "uuid", - "type": "string" - }, - "type": "array" - }, - "errors": { - "items": { - "properties": { - "childId": { - "format": "uuid", - "type": "string" - }, - "error": { - "type": "string" - }, - "errorType": { - "type": "string" - } - }, - "required": [ - "childId", - "error" - ], - "type": "object" - }, - "type": "array" - }, - "message": { - "type": "string" - }, - "relationships": { - "items": { - "properties": { - "childDatasetId": { - "type": "string" - }, - "childId": { - "format": "uuid", - "type": "string" - }, - "parentDatasetId": { - "type": "string" - }, - "parentId": { - "format": "uuid", - "type": "string" - }, - "relationshipType": { - "enum": [ - "related_to", - "caused_by", - "attributed_to" - ], - "type": "string" - } - }, - "required": [ - "childDatasetId", - "childId", - "parentDatasetId", - "parentId", - "relationshipType" - ], - "type": "object" - }, - "type": "array" - }, - "relationshipsCreated": { - "type": "number" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "message", - "relationships", - "success" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create a relationship between two events" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/relationships/create", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "childIds": { - "items": { - "format": "uuid", - "type": "string" - }, - "type": "array" - }, - "errors": { - "items": { - "properties": { - "childId": { - "format": "uuid", - "type": "string" - }, - "error": { - "type": "string" - }, - "errorType": { - "type": "string" - } - }, - "required": [ - "childId", - "error" - ], - "type": "object" - }, - "type": "array" - }, - "message": { - "type": "string" - }, - "relationships": { - "items": { - "properties": { - "childDatasetId": { - "type": "string" - }, - "childId": { - "format": "uuid", - "type": "string" - }, - "parentDatasetId": { - "type": "string" - }, - "parentId": { - "format": "uuid", - "type": "string" - }, - "relationshipType": { - "enum": [ - "related_to", - "caused_by", - "attributed_to" - ], - "type": "string" - } - }, - "required": [ - "childDatasetId", - "childId", - "parentDatasetId", - "parentId", - "relationshipType" - ], - "type": "object" - }, - "type": "array" - }, - "relationshipsCreated": { - "type": "number" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "message", - "relationships", - "success" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relationships/create`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts deleted file mode 100644 index b85e5c95..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/create/tools.ts +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../../_/tool.js"; -import { - cloudforce_one_events_FieldDefinition_annotations_output, - cloudforce_one_events_FieldDefinition_numberConstraint_output, - cloudforce_one_events_FieldDefinition_output, -} from "../../../outputs.js"; -import { - cloudforce_one_events_FieldDefinition, - cloudforce_one_events_FieldDefinition_annotations, - cloudforce_one_events_FieldDefinition_numberConstraint, -} from "../../../schemas.js"; - -/** - * The tools of `cloudforce_one.events.tags.categories.create`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_tags_categories_create_create", - title: "Creates a new tag category (SoT)", - description: "Creates a new Source-of-Truth tag category for an account.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "schema": { - "description": "Optional array of FieldDefinition objects defining custom fields for tags in this category. Persisted as JSON; returned as a parsed array.", - "items": { - "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" - }, - "type": "array" - } - }, - "required": [ - "name" - ], - "type": "object" - } - }, - required: [ - "account_id" - ], - $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition, - "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations, - "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint, - }, - }, - outputSchema: { - "properties": { - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "schema": { - "oneOf": [ - { - "items": { - "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" - }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "name", - "uuid" - ], - "type": "object", - $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, - "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, - "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Creates a new tag category (SoT)" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/tags/categories/create", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "schema": { - "oneOf": [ - { - "items": { - "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" - }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "name", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - }, - "409": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, - "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, - "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories/create`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/tools.ts deleted file mode 100644 index 811d1212..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/tools.ts +++ /dev/null @@ -1,447 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_create", - title: "Updates an event", - description: "Updates an event", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "attacker": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "attackerCountry": { - "type": "string" - }, - "category": { - "type": "string" - }, - "createdAt": { - "format": "date-time", - "type": "string" - }, - "datasetId": { - "description": "Dataset ID containing the event to update.", - "type": "string" - }, - "date": { - "format": "date-time", - "type": "string" - }, - "event": { - "type": "string" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "insight": { - "type": "string" - }, - "raw": { - "properties": { - "data": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "source": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "type": "object" - }, - "targetCountry": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "required": [ - "datasetId" - ], - "type": "object" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "event_id" - ], - }, - outputSchema: { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "numReferenced": { - "type": "number" - }, - "numReferences": { - "type": "number" - }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "references": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates an event" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/{event_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "numReferenced": { - "type": "number" - }, - "numReferences": { - "type": "number" - }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "references": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts b/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts deleted file mode 100644 index bf802c06..00000000 --- a/src/generated/forge-mcp/cloudforceOne/events/update/bulk/tools.ts +++ /dev/null @@ -1,236 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.events.update.bulk`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_events_update_bulk_patch", - title: "Bulk update events", - description: "Updates multiple events with the same field values. Maximum 100 events per request.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "datasetId": { - "description": "Dataset ID containing the events to update. Required to prevent cross-account modifications.", - "type": "string" - }, - "eventIds": { - "description": "List of event UUIDs to update (1-100)", - "items": { - "type": "string" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - }, - "updates": { - "description": "Fields to update on all specified events. All fields including 'insight' are supported, except 'date' which requires shard migration.", - "properties": { - "attacker": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "attackerCountry": { - "type": "string" - }, - "category": { - "type": "string" - }, - "createdAt": { - "format": "date-time", - "type": "string" - }, - "event": { - "type": "string" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "insight": { - "type": "string" - }, - "raw": { - "properties": { - "data": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "source": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "type": "object" - }, - "targetCountry": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "type": "object" - } - }, - "required": [ - "datasetId", - "eventIds", - "updates" - ], - "type": "object" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "failedCount": { - "type": "number" - }, - "failures": { - "items": { - "properties": { - "error": { - "type": "string" - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "error", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "updatedCount": { - "type": "number" - } - }, - "required": [ - "failedCount", - "updatedCount" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Bulk update events" - }, - method: "PATCH", - path: "/accounts/{account_id}/cloudforce-one/events/update/bulk", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "failedCount": { - "type": "number" - }, - "failures": { - "items": { - "properties": { - "error": { - "type": "string" - }, - "eventId": { - "type": "string" - } - }, - "required": [ - "error", - "eventId" - ], - "type": "object" - }, - "type": "array" - }, - "updatedCount": { - "type": "number" - } - }, - "required": [ - "failedCount", - "updatedCount" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/update/bulk`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts index 108fe3b1..8e3f33e9 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts @@ -7,6 +7,1518 @@ import { type Tool, pathParam } from "../../../_/tool.js"; * The tools of `cloudforce_one.priority_intelligence.matches`. */ export const tools: readonly Tool[] = [ + { + name: "cloudforce_one_priority_intelligence_matches_aggregate", + title: "Count a priority intelligence requirement's matched events", + description: "Counts the PIR's matches by tag, attacker, attacker country, target industry, primary indicator, or indicator type: the top values, the number of distinct values, and the matches without a value. Covers the same matches as the matches list, in datasets the account can read now. Tags are grouped case-insensitively and shown with their most common spelling; an event counts once for each of its tags. `indicator` is the first indicator each event was created with. Field values are copied when an event matches; matches still being copied are reported in `matches.pending` and not counted, and matches whose event was already gone when its fields were copied in `matches.missing`. Counts keep the copied values, so an event deleted later stays counted. Requires the Threat Events entitlement.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "aggregate_by": { + "description": "Comma-separated fields to count: tags, attacker, attacker_country, target_industry, indicator, indicator_type. `indicator` is each event's primary indicator, the first one it was created with.", + "type": "string" + }, + "include_backfill": { + "description": "Include matches from the 30 days before activation. Defaults to true.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "limit": { + "default": 10, + "description": "Top values returned per field.", + "type": "integer" + }, + "priority_id": { + "format": "uuid", + "type": "string" + }, + "since": { + "description": "Only matches first matched at or after this ISO 8601 time.", + "format": "date-time", + "type": "string" + }, + "triage_state": { + "description": "Only matches in this triage state.", + "enum": [ + "new", + "relevant", + "not_relevant" + ], + "type": "string" + } + }, + required: [ + "account_id", + "priority_id", + "aggregate_by" + ], + }, + outputSchema: { + "properties": { + "fields": { + "properties": { + "attacker": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "attacker_country": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator_type": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "tags": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "target_industry": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + } + }, + "type": "object" + }, + "matches": { + "properties": { + "counted": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "counted", + "missing", + "pending", + "total" + ], + "type": "object" + } + }, + "required": [ + "fields", + "matches" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Count a priority intelligence requirement's matched events" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches/aggregate", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": { + "properties": { + "fields": { + "properties": { + "attacker": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "attacker_country": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator_type": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "tags": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "target_industry": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + } + }, + "type": "object" + }, + "matches": { + "properties": { + "counted": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "counted", + "missing", + "pending", + "total" + ], + "type": "object" + } + }, + "required": [ + "fields", + "matches" + ], + "type": "object" + }, + "400": null, + "404": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}/matches/aggregate`, + query: [ + ["aggregate_by", args["aggregate_by"], true], + ["limit", args["limit"], true], + ["since", args["since"], true], + ["triage_state", args["triage_state"], true], + ["include_backfill", args["include_backfill"], true], + ], + }), + }, + { + name: "cloudforce_one_priority_intelligence_matches_aggregate_all", + title: "Count matched events across the account's priority intelligence requirements", + description: "Returns each active PIR's match counts, with the same fields and filters as a single PIR's aggregate, and the number of distinct values of each field across all of them, each value counted once. Counts are not summed across PIRs: an event can match several PIRs. Drafts are left out; PIRs the matcher paused are included. A PIR whose matches cannot be counted is returned with `error` and left out of `combined`. Requires the Threat Events entitlement.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "aggregate_by": { + "description": "Comma-separated fields to count: tags, attacker, attacker_country, target_industry, indicator, indicator_type. `indicator` is each event's primary indicator, the first one it was created with.", + "type": "string" + }, + "include_backfill": { + "description": "Include matches from the 30 days before activation. Defaults to true.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "limit": { + "default": 10, + "description": "Top values returned per field.", + "type": "integer" + }, + "since": { + "description": "Only matches first matched at or after this ISO 8601 time.", + "format": "date-time", + "type": "string" + }, + "triage_state": { + "description": "Only matches in this triage state.", + "enum": [ + "new", + "relevant", + "not_relevant" + ], + "type": "string" + } + }, + required: [ + "account_id", + "aggregate_by" + ], + }, + outputSchema: { + "properties": { + "combined": { + "properties": { + "fields": { + "properties": { + "attacker": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "attacker_country": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "indicator": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "indicator_type": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "tags": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "target_industry": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + } + }, + "type": "object" + }, + "partial": { + "type": "boolean" + } + }, + "required": [ + "fields", + "partial" + ], + "type": "object" + }, + "priorities": { + "items": { + "properties": { + "error": { + "enum": [ + "unavailable" + ], + "type": "string" + }, + "fields": { + "properties": { + "attacker": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "attacker_country": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator_type": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "tags": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "target_industry": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + } + }, + "type": "object" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "matches": { + "properties": { + "counted": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "counted", + "missing", + "pending", + "total" + ], + "type": "object" + }, + "pause_reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "pause_reason", + "title" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "combined", + "priorities" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Count matched events across the account's priority intelligence requirements" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/v2/priority-intelligence/matches/aggregate", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": { + "properties": { + "combined": { + "properties": { + "fields": { + "properties": { + "attacker": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "attacker_country": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "indicator": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "indicator_type": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "tags": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + }, + "target_industry": { + "properties": { + "distinct_values": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "distinct_values_truncated": { + "type": "boolean" + } + }, + "required": [ + "distinct_values", + "distinct_values_truncated" + ], + "type": "object" + } + }, + "type": "object" + }, + "partial": { + "type": "boolean" + } + }, + "required": [ + "fields", + "partial" + ], + "type": "object" + }, + "priorities": { + "items": { + "properties": { + "error": { + "enum": [ + "unavailable" + ], + "type": "string" + }, + "fields": { + "properties": { + "attacker": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "attacker_country": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "indicator_type": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "tags": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + }, + "target_industry": { + "properties": { + "buckets": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "value": { + "type": "string" + } + }, + "required": [ + "count", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "distinct_values": { + "type": "integer" + }, + "without_value": { + "type": "integer" + } + }, + "required": [ + "buckets", + "distinct_values", + "without_value" + ], + "type": "object" + } + }, + "type": "object" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "matches": { + "properties": { + "counted": { + "type": "integer" + }, + "missing": { + "type": "integer" + }, + "pending": { + "type": "integer" + }, + "total": { + "type": "integer" + } + }, + "required": [ + "counted", + "missing", + "pending", + "total" + ], + "type": "object" + }, + "pause_reason": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "id", + "pause_reason", + "title" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "combined", + "priorities" + ], + "type": "object" + }, + "400": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/matches/aggregate`, + query: [ + ["aggregate_by", args["aggregate_by"], true], + ["limit", args["limit"], true], + ["since", args["since"], true], + ["triage_state", args["triage_state"], true], + ["include_backfill", args["include_backfill"], true], + ], + }), + }, { name: "cloudforce_one_priority_intelligence_matches_list", title: "List a priority intelligence requirement's matched events", @@ -77,6 +1589,187 @@ export const tools: readonly Tool[] = [ ], }), }, + { + name: "cloudforce_one_priority_intelligence_matches_series", + title: "Count a priority intelligence requirement's matched events per day", + description: "Returns the PIR's matches per UTC day of when each matched event was added to its dataset, over the same matches as the matches list, in datasets the account can read now. Every day in the range is listed, including days with no matches. The range defaults to the last 30 days and is at most 90 days, because matches are kept for 90 days. Days before the PIR was activated hold only the most recent backfill matches. Requires the Threat Events entitlement.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "include_backfill": { + "description": "Include matches from the 30 days before activation. Defaults to true.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + }, + "since": { + "description": "Start of the range, inclusive, on when each matched event was added to its dataset. ISO 8601; defaults to 30 days before `until`.", + "format": "date-time", + "type": "string" + }, + "triage_state": { + "description": "Only matches in this triage state.", + "enum": [ + "new", + "relevant", + "not_relevant" + ], + "type": "string" + }, + "until": { + "description": "End of the range, exclusive. ISO 8601; defaults to now. The range is at most 90 days.", + "format": "date-time", + "type": "string" + } + }, + required: [ + "account_id", + "priority_id" + ], + }, + outputSchema: { + "properties": { + "days": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "date": { + "type": "string" + } + }, + "required": [ + "count", + "date" + ], + "type": "object" + }, + "type": "array" + }, + "interval": { + "enum": [ + "day" + ], + "type": "string" + }, + "since": { + "format": "date-time", + "type": "string" + }, + "total": { + "type": "integer" + }, + "until": { + "format": "date-time", + "type": "string" + }, + "without_created_at": { + "type": "integer" + } + }, + "required": [ + "days", + "interval", + "since", + "total", + "until", + "without_created_at" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Count a priority intelligence requirement's matched events per day" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches/series", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": { + "properties": { + "days": { + "items": { + "properties": { + "count": { + "type": "integer" + }, + "date": { + "type": "string" + } + }, + "required": [ + "count", + "date" + ], + "type": "object" + }, + "type": "array" + }, + "interval": { + "enum": [ + "day" + ], + "type": "string" + }, + "since": { + "format": "date-time", + "type": "string" + }, + "total": { + "type": "integer" + }, + "until": { + "format": "date-time", + "type": "string" + }, + "without_created_at": { + "type": "integer" + } + }, + "required": [ + "days", + "interval", + "since", + "total", + "until", + "without_created_at" + ], + "type": "object" + }, + "400": null, + "404": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}/matches/series`, + query: [ + ["since", args["since"], true], + ["until", args["until"], true], + ["triage_state", args["triage_state"], true], + ["include_backfill", args["include_backfill"], true], + ], + }), + }, { name: "cloudforce_one_priority_intelligence_matches_update", title: "Triage a priority intelligence requirement's matched events", diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts new file mode 100644 index 00000000..be1ddc65 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts @@ -0,0 +1,144 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import { type Tool, pathParam } from "../../../_/tool.js"; + +/** + * The tools of `cloudforce_one.priority_intelligence.profile`. + */ +export const tools: readonly Tool[] = [ + { + name: "cloudforce_one_priority_intelligence_profile_delete", + title: "Delete the organization profile", + description: "Deletes the account's organization profile. Succeeds when the account has no profile.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete the organization profile" + }, + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/v2/priority-intelligence/profile", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/profile`, + }), + }, + { + name: "cloudforce_one_priority_intelligence_profile_get", + title: "Get the organization profile", + description: "Returns the account's organization profile, which all of its Priority Intelligence Requirements share to judge how relevant intelligence is to the organization. `result` is null when the account has no profile.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get the organization profile" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/v2/priority-intelligence/profile", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": null, + "4XX": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/profile`, + }), + }, + { + name: "cloudforce_one_priority_intelligence_profile_update", + title: "Create or replace the organization profile", + description: "Creates or replaces the account's organization profile: who the organization is, such as its name, brands, domains, sector, regions, key systems and suppliers. All of the account's Priority Intelligence Requirements share it. An account has at most one profile, and it does not count against the PIR quota.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "body": { + "properties": { + "profile": { + "description": "Who the organization is: its name, brands, domains, sector, regions, key systems and suppliers. Shared by all of the account's PIRs to judge how relevant intelligence is to the organization.", + "type": "string" + } + }, + "required": [ + "profile" + ], + "type": "object" + } + }, + required: [ + "account_id" + ], + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create or replace the organization profile" + }, + method: "PUT", + path: "/accounts/{account_id}/cloudforce-one/v2/priority-intelligence/profile", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": null, + "400": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/profile`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, +]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts deleted file mode 100644 index a99f5991..00000000 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/relate/tools.ts +++ /dev/null @@ -1,120 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.threat_events.relate`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_threat_events_relate_delete", - title: "Removes an event reference", - description: "Removes a reference link between related threat events in Cloudforce One.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "events": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "events" - ], - "type": "object" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "event_id" - ], - }, - outputSchema: { - "properties": { - "success": { - "type": "boolean" - } - }, - "required": [ - "success" - ], - "type": "object", - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Removes an event reference" - }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/relate/{event_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "success": { - "type": "boolean" - } - }, - "required": [ - "success" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relate/${pathParam(args, "event_id")}`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts deleted file mode 100644 index 48d75768..00000000 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/tags/tools.ts +++ /dev/null @@ -1,1630 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../../_/tool.js"; - -/** - * The tools of `cloudforce_one.threat_events.tags`. - */ -export const tools: readonly Tool[] = [ - { - name: "cloudforce_one_threat_events_tags_create", - title: "Creates a new tag", - description: "Creates an account-owned tag for threat events and returns its complete owner projection.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "activeDuration": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "actorCategory": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "aliasGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliasGroupNamesInternal": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliases": { - "description": "Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).", - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "attributionOrganization": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "categoryUuid": { - "description": "Tag type (category) UUID. Optional — when present, `properties` is validated against this category's schema. When absent, the tag is typeless and properties are accepted free-form.", - "type": "string" - }, - "confidence": { - "description": "Overall tag confidence (1-10). Optional.", - "type": "integer" - }, - "dateOfDiscovery": { - "description": "Date of discovery (ISO YYYY-MM-DD). Optional.", - "type": "string" - }, - "description": { - "type": "string" - }, - "externalReferenceLinks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "externalReferences": { - "description": "Structured external references ({ url, description }). Public: returned to all accounts.", - "items": { - "properties": { - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "url" - ], - "type": "object" - }, - "type": "array" - }, - "internalAliases": { - "description": "Owner-private structured aliases ({ value, confidence 1-10, tlp }). Returned to the owning account and omitted from shared-catalog non-owner responses.", - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" - }, - "motive": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "opsecLevel": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "originCountryISO": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "priority": { - "anyOf": [ - { - "type": "number" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "properties": { - "description": "Structured metadata blob. Optional. When `categoryUuid` is given, validated against this category's schema on write. When typeless, accepted free-form. Use `{}` for a tag with no custom data.", - "type": "object" - }, - "sophisticationLevel": { - "anyOf": [ - { - "type": "string" - }, - { - "properties": { - "confidence": { - "type": "integer" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - ] - }, - "tlp": { - "description": "Tag-level TLP handling marking. Optional. Allowed values: red, amber, amber-strict, green, clear, purple, amber+strict.", - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "activeDuration": { - "type": "string" - }, - "activeDuration_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "actorCategory": { - "type": "string" - }, - "actorCategory_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "aliasGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliasGroupNamesInternal": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliases": { - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "attributionOrganization": { - "type": "string" - }, - "attributionOrganization_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "categoryUuid": { - "type": "string" - }, - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "dateOfDiscovery": { - "type": "string" - }, - "description": { - "type": "string" - }, - "externalReferenceLinks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "externalReferences": { - "items": { - "properties": { - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "url" - ], - "type": "object" - }, - "type": "array" - }, - "externalReferences_annotated": { - "oneOf": [ - { - "items": { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "internalAliases": { - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" - }, - "motive": { - "type": "string" - }, - "motive_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "opsecLevel": { - "type": "string" - }, - "opsecLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "originCountryISO": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "originCountryISO_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "priority": { - "type": "number" - }, - "priority_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "sophisticationLevel": { - "type": "string" - }, - "sophisticationLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - }, - "version": { - "type": "number" - } - }, - "required": [ - "uuid", - "value" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Creates a new tag" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/tags/create", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "activeDuration": { - "type": "string" - }, - "activeDuration_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "actorCategory": { - "type": "string" - }, - "actorCategory_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "aliasGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliasGroupNamesInternal": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliases": { - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "attributionOrganization": { - "type": "string" - }, - "attributionOrganization_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "categoryUuid": { - "type": "string" - }, - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "dateOfDiscovery": { - "type": "string" - }, - "description": { - "type": "string" - }, - "externalReferenceLinks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "externalReferences": { - "items": { - "properties": { - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "url": { - "type": "string" - } - }, - "required": [ - "url" - ], - "type": "object" - }, - "type": "array" - }, - "externalReferences_annotated": { - "oneOf": [ - { - "items": { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "internalAliases": { - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" - }, - "motive": { - "type": "string" - }, - "motive_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "opsecLevel": { - "type": "string" - }, - "opsecLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "originCountryISO": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "originCountryISO_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "priority": { - "type": "number" - }, - "priority_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "sophisticationLevel": { - "type": "string" - }, - "sophisticationLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - }, - "version": { - "type": "number" - } - }, - "required": [ - "uuid", - "value" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/create`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts similarity index 91% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts index 97a42e62..459f0327 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/groups/members/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.dataset.groups.members`. + * The tools of `cloudforce_one.threat_intel.datasets.access.groups.members`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_groups_members_create", - title: "Create a group member", - description: "Create a group member", + name: "cloudforce_one_threat_intel_datasets_access_groups_members_create", + title: "Add an account to a group", + description: "Adds an account to an account group. Identify the account by `accountId` or `accountTag`.", inputSchema: { type: "object", properties: { @@ -69,7 +69,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Create a group member" + "title": "Add an account to a group" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}/members", @@ -145,9 +145,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_groups_members_delete", - title: "Delete a group member", - description: "Delete a group member", + name: "cloudforce_one_threat_intel_datasets_access_groups_members_delete", + title: "Remove an account from a group", + description: "Removes an account from an account group.", inputSchema: { type: "object", properties: { @@ -184,7 +184,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Delete a group member" + "title": "Remove an account from a group" }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}/members/{member_id}", @@ -243,9 +243,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_groups_members_get", + name: "cloudforce_one_threat_intel_datasets_access_groups_members_list", title: "List group members", - description: "List group members", + description: "Lists the accounts in an account group.", inputSchema: { type: "object", properties: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts similarity index 62% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts index 928409b3..78a479b0 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/datasets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.datasets`. + * The tools of `cloudforce_one.threat_intel.datasets.access.groups`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_datasets_create", - title: "Creates a dataset", - description: "Creates a new threat event dataset in Cloudforce One for organizing related threat events.", + name: "cloudforce_one_threat_intel_datasets_access_groups_create", + title: "Create an account group", + description: "Creates a named group of accounts. To give the group access to a dataset, use `threat-intel datasets access permissions create`.", inputSchema: { type: "object", properties: { @@ -20,17 +20,15 @@ export const tools: readonly Tool[] = [ }, "body": { "properties": { - "isPublic": { - "description": "If true, then anyone can search the dataset. If false, then its limited to the account.", - "type": "boolean" + "description": { + "type": "string" }, "name": { - "description": "Used to describe the dataset within the account context.", "type": "string" } }, "required": [ - "isPublic", + "description", "name" ], "type": "object" @@ -42,23 +40,29 @@ export const tools: readonly Tool[] = [ }, outputSchema: { "properties": { - "isAnalytics": { - "type": "boolean" + "createdAt": { + "format": "date-time", + "type": "string" }, - "isPublic": { - "type": "boolean" + "description": { + "type": "string" }, "name": { "type": "string" }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ - "isAnalytics", - "isPublic", + "createdAt", + "description", "name", + "updatedAt", "uuid" ], "type": "object", @@ -68,10 +72,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Creates a dataset" + "title": "Create an account group" }, method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/create", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -82,23 +86,29 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "isAnalytics": { - "type": "boolean" + "createdAt": { + "format": "date-time", + "type": "string" }, - "isPublic": { - "type": "boolean" + "description": { + "type": "string" }, "name": { "type": "string" }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ - "isAnalytics", - "isPublic", + "createdAt", + "description", "name", + "updatedAt", "uuid" ], "type": "object" @@ -136,14 +146,14 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/create`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_events_datasets_edit", - title: "Updates an existing dataset", - description: "Partially updates a threat event dataset in Cloudforce One, modifying specific fields without replacing the entire dataset configuration.", + name: "cloudforce_one_threat_intel_datasets_access_groups_delete", + title: "Delete an account group", + description: "Deletes an account group by its ID.", inputSchema: { type: "object", properties: { @@ -151,66 +161,35 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "body": { - "properties": { - "isPublic": { - "description": "If true, then anyone can search the dataset. If false, then its limited to the account.", - "type": "boolean" - }, - "name": { - "description": "Used to describe the dataset within the account context.", - "type": "string" - } - }, - "required": [ - "isPublic", - "name" - ], - "type": "object" - }, - "dataset_id": { - "description": "Dataset ID.", - "format": "uuid", + "group_id": { "type": "string" } }, required: [ "account_id", - "dataset_id" + "group_id" ], }, outputSchema: { "properties": { - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { - "type": "boolean" - }, - "name": { + "message": { "type": "string" }, - "uuid": { - "type": "string" + "success": { + "type": "boolean" } }, - "required": [ - "isAnalytics", - "isPublic", - "name", - "uuid" - ], "type": "object", }, annotations: { - "destructiveHint": false, - "idempotentHint": false, + "destructiveHint": true, + "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Updates an existing dataset" + "title": "Delete an account group" }, - method: "PATCH", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", extensions: { "x-api-token-group": [ "Cloudforce One Write" @@ -220,25 +199,13 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { - "type": "boolean" - }, - "name": { + "message": { "type": "string" }, - "uuid": { - "type": "string" + "success": { + "type": "boolean" } }, - "required": [ - "isAnalytics", - "isPublic", - "name", - "uuid" - ], "type": "object" }, "400": { @@ -274,14 +241,13 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, }), }, { - name: "cloudforce_one_threat_events_datasets_get", - title: "Reads a dataset", - description: "Retrieves details for a specific threat event dataset.", + name: "cloudforce_one_threat_intel_datasets_access_groups_get", + title: "Get an account group", + description: "Returns an account group by its ID.", inputSchema: { type: "object", properties: { @@ -289,36 +255,70 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "dataset_id": { - "description": "Dataset ID.", - "format": "uuid", + "group_id": { "type": "string" } }, required: [ "account_id", - "dataset_id" + "group_id" ], }, outputSchema: { "properties": { - "isAnalytics": { - "type": "boolean" + "createdAt": { + "format": "date-time", + "type": "string" }, - "isPublic": { - "type": "boolean" + "description": { + "type": "string" + }, + "members": { + "items": { + "properties": { + "accountId": { + "type": "string" + }, + "accountTag": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "accountId", + "uuid" + ], + "type": "object" + }, + "type": "array" }, "name": { "type": "string" }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ - "isAnalytics", - "isPublic", + "createdAt", + "description", + "members", "name", + "updatedAt", "uuid" ], "type": "object", @@ -328,10 +328,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Reads a dataset" + "title": "Get an account group" }, method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -342,58 +342,64 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { - "type": "boolean" - }, - "name": { + "createdAt": { + "format": "date-time", "type": "string" }, - "uuid": { + "description": { "type": "string" - } - }, - "required": [ - "isAnalytics", - "isPublic", - "name", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { + }, + "members": { "items": { "properties": { - "message": { + "accountId": { + "type": "string" + }, + "accountTag": { + "type": "string" + }, + "createdAt": { + "format": "date-time", + "type": "string" + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { "type": "string" } }, "required": [ - "message" + "accountId", + "uuid" ], "type": "object" }, "type": "array" }, - "result": { - "type": "object" + "name": { + "type": "string" }, - "success": { - "type": "boolean" + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" } }, "required": [ - "errors", - "result", - "success" + "createdAt", + "description", + "members", + "name", + "updatedAt", + "uuid" ], "type": "object" }, - "404": { + "400": { "properties": { "errors": { "items": { @@ -426,23 +432,19 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, }), }, { - name: "cloudforce_one_threat_events_datasets_list", - title: "Lists all datasets in an account", - description: "Lists all threat event datasets configured in Cloudforce One.", + name: "cloudforce_one_threat_intel_datasets_access_groups_list", + title: "List account groups", + description: "Lists the account groups. A group is a set of accounts that can be given access to a dataset with `threat-intel datasets access permissions create`.", inputSchema: { type: "object", properties: { "account_id": { "description": "Account ID.", "type": "string" - }, - "include_deleted": { - "description": "When true, include soft-deleted datasets in the response. Each item includes a `deletedAt` field (ISO 8601 or null). Default: false.", - "type": "boolean" } }, required: [ @@ -452,35 +454,29 @@ export const tools: readonly Tool[] = [ outputSchema: { "items": { "properties": { - "deletedAt": { + "createdAt": { + "format": "date-time", "type": "string" }, - "indicatorWriteMode": { - "enum": [ - "read_only", - "create_only", - "full" - ], + "description": { "type": "string" }, - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { - "type": "boolean" - }, "name": { "type": "string" }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ - "indicatorWriteMode", - "isAnalytics", - "isPublic", + "createdAt", + "description", "name", + "updatedAt", "uuid" ], "type": "object" @@ -492,10 +488,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists all datasets in an account" + "title": "List account groups" }, method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/dataset", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -507,35 +503,29 @@ export const tools: readonly Tool[] = [ "200": { "items": { "properties": { - "deletedAt": { + "createdAt": { + "format": "date-time", "type": "string" }, - "indicatorWriteMode": { - "enum": [ - "read_only", - "create_only", - "full" - ], + "description": { "type": "string" }, - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { - "type": "boolean" - }, "name": { "type": "string" }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ - "indicatorWriteMode", - "isAnalytics", - "isPublic", + "createdAt", + "description", "name", + "updatedAt", "uuid" ], "type": "object" @@ -575,16 +565,13 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset`, - query: [ - ["includeDeleted", args["include_deleted"], true], - ], + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups`, }), }, { - name: "cloudforce_one_threat_events_datasets_raw", - title: "Reads raw data for an event by UUID", - description: "Retrieves the raw data associated with an event. Searches across all shards in the dataset.", + name: "cloudforce_one_threat_intel_datasets_access_groups_update", + title: "Update an account group", + description: "Replaces an account group's `name` and `description`.", inputSchema: { type: "object", properties: { @@ -592,131 +579,105 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" + "body": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "description", + "name" + ], + "type": "object" }, - "event_id": { - "description": "Event ID.", + "group_id": { "type": "string" } }, required: [ "account_id", - "dataset_id", - "event_id" + "group_id" ], }, outputSchema: { "properties": { - "accountId": { - "type": "number" - }, - "created": { + "createdAt": { + "format": "date-time", "type": "string" }, - "data": { + "description": { "type": "string" }, - "id": { - "type": "number" + "name": { + "type": "string" }, - "source": { + "updatedAt": { + "format": "date-time", "type": "string" }, - "tlp": { + "uuid": { "type": "string" } }, "required": [ - "accountId", - "created", - "data", - "id", - "source", - "tlp" + "createdAt", + "description", + "name", + "updatedAt", + "uuid" ], "type": "object", }, annotations: { - "destructiveHint": false, + "destructiveHint": true, "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": true, - "title": "Reads raw data for an event by UUID" + "readOnlyHint": false, + "title": "Update an account group" }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events/{event_id}/raw", + method: "PUT", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", extensions: { "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" + "Cloudforce One Write" ] }, responses: { schemas: { "200": { "properties": { - "accountId": { - "type": "number" - }, - "created": { + "createdAt": { + "format": "date-time", "type": "string" }, - "data": { + "description": { "type": "string" }, - "id": { - "type": "number" - }, - "source": { + "name": { "type": "string" }, - "tlp": { + "updatedAt": { + "format": "date-time", "type": "string" - } - }, - "required": [ - "accountId", - "created", - "data", - "id", - "source", - "tlp" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" }, - "success": { - "type": "boolean" + "uuid": { + "type": "string" } }, "required": [ - "errors", - "result", - "success" + "createdAt", + "description", + "name", + "updatedAt", + "uuid" ], "type": "object" }, - "500": { + "400": { "properties": { "errors": { "items": { @@ -749,7 +710,8 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events/${pathParam(args, "event_id")}/raw`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/-/groups/${pathParam(args, "group_id")}`, + body: { value: args["body"], mediaType: "application/json" }, }), }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts similarity index 93% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts index 8ba7be04..33fdaec3 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/permissions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.dataset.permissions`. + * The tools of `cloudforce_one.threat_intel.datasets.access.permissions`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_permissions_create", - title: "Create a permission for dataset", - description: "Create a permission", + name: "cloudforce_one_threat_intel_datasets_access_permissions_create", + title: "Grant access to a dataset", + description: "Gives an account or account group (`subjectType` and `subjectId`) `read` or `write` access to a dataset.", inputSchema: { type: "object", properties: { @@ -112,7 +112,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Create a permission for dataset" + "title": "Grant access to a dataset" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions", @@ -213,9 +213,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_permissions_delete", - title: "Delete a permission for dataset", - description: "Delete a permission", + name: "cloudforce_one_threat_intel_datasets_access_permissions_delete", + title: "Revoke access to a dataset", + description: "Removes an access grant from a dataset.", inputSchema: { type: "object", properties: { @@ -254,7 +254,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Delete a permission for dataset" + "title": "Revoke access to a dataset" }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions/{grant_id}", @@ -343,9 +343,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_permissions_get", - title: "List permissions for dataset", - description: "List permissions", + name: "cloudforce_one_threat_intel_datasets_access_permissions_list", + title: "List dataset permissions", + description: "Lists the access grants on a dataset.", inputSchema: { type: "object", properties: { @@ -423,7 +423,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "List permissions for dataset" + "title": "List dataset permissions" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions", @@ -556,9 +556,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_permissions_update", - title: "Update a permission for dataset", - description: "Update a permission", + name: "cloudforce_one_threat_intel_datasets_access_permissions_update", + title: "Change a dataset permission", + description: "Changes the `role` of an access grant to `read` or `write`.", inputSchema: { type: "object", properties: { @@ -612,7 +612,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Update a permission for dataset" + "title": "Change a dataset permission" }, method: "PUT", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions/{grant_id}", diff --git a/src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts similarity index 71% rename from src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts index 0a7f1f20..c510f6ea 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/datasets/populate/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts @@ -1,16 +1,585 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.datasets.populate`. + * The tools of `cloudforce_one.threat_intel.datasets`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_datasets_populate_create", - title: "Populate dataset-specific lookup tables from existing Events data with batch processing", - description: "Populate dataset-specific lookup tables from existing Events data with batch processing", + name: "cloudforce_one_threat_intel_datasets_create", + title: "Create a dataset", + description: "Creates a dataset for grouping events. Set `isPublic` to true to let anyone search it; otherwise only the account can.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "isPublic": { + "description": "If true, then anyone can search the dataset. If false, then its limited to the account.", + "type": "boolean" + }, + "name": { + "description": "Used to describe the dataset within the account context.", + "type": "string" + } + }, + "required": [ + "isPublic", + "name" + ], + "type": "object" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create a dataset" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/create", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/create`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_datasets_delete", + title: "Delete a dataset", + description: "Deletes a dataset. To see deleted datasets, use `threat-intel datasets list` with `includeDeleted`.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID to delete", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id" + ], + }, + outputSchema: { + "properties": { + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete a dataset" + }, + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_datasets_get", + title: "Get a dataset", + description: "Returns a dataset by its ID.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id" + ], + }, + outputSchema: { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get a dataset" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_datasets_list", + title: "List datasets", + description: "Lists the account's datasets. Set `includeDeleted` to include deleted datasets.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "include_deleted": { + "description": "When true, include soft-deleted datasets in the response. Each item includes a `deletedAt` field (ISO 8601 or null). Default: false.", + "type": "boolean" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "items": { + "properties": { + "deletedAt": { + "type": "string" + }, + "indicatorWriteMode": { + "enum": [ + "read_only", + "create_only", + "full" + ], + "type": "string" + }, + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "indicatorWriteMode", + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "type": "array", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List datasets" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/dataset", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "deletedAt": { + "type": "string" + }, + "indicatorWriteMode": { + "enum": [ + "read_only", + "create_only", + "full" + ], + "type": "string" + }, + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "indicatorWriteMode", + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset`, + query: [ + ["includeDeleted", args["include_deleted"], true], + ], + }), + }, + { + name: "cloudforce_one_threat_intel_datasets_populate", + title: "Rebuild dataset lookup lists", + description: "Rebuilds the lists of attackers, categories, indicator types, and target industries for the account's datasets from their existing events. Datasets are processed in batches.", inputSchema: { type: "object", properties: { @@ -551,7 +1120,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Populate dataset-specific lookup tables from existing Events data with batch processing" + "title": "Rebuild dataset lookup lists" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/datasets/populate", @@ -1122,4 +1691,142 @@ export const tools: readonly Tool[] = [ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/populate`, }), }, + { + name: "cloudforce_one_threat_intel_datasets_update", + title: "Update a dataset", + description: "Updates a dataset's `name` and `isPublic` setting. Both fields are required.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "isPublic": { + "description": "If true, then anyone can search the dataset. If false, then its limited to the account.", + "type": "boolean" + }, + "name": { + "description": "Used to describe the dataset within the account context.", + "type": "string" + } + }, + "required": [ + "isPublic", + "name" + ], + "type": "object" + }, + "dataset_id": { + "description": "Dataset ID.", + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id" + ], + }, + outputSchema: { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Update a dataset" + }, + method: "PATCH", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "isAnalytics": { + "type": "boolean" + }, + "isPublic": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "isAnalytics", + "isPublic", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts similarity index 87% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts index a896785b..6498caf2 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/attackers/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.attackers`. + * The tools of `cloudforce_one.threat_intel.events.attackers`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_attackers_list", - title: "Lists attackers across multiple datasets", - description: "Lists known threat attackers tracked in Cloudforce One threat intelligence.", + name: "cloudforce_one_threat_intel_events_attackers_list", + title: "List attackers", + description: "Lists the attackers referenced by events in the datasets given by `datasetIds`, or in the default dataset when `datasetIds` is omitted.", inputSchema: { type: "object", properties: { @@ -58,7 +58,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists attackers across multiple datasets" + "title": "List attackers" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/attackers", diff --git a/src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts similarity index 86% rename from src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts index 00b7d4cc..99d8116c 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/categories/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.categories.catalog`. + * The tools of `cloudforce_one.threat_intel.events.categories.catalog`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_categories_catalog_get", - title: "Lists categories", - description: "Lists categories", + name: "cloudforce_one_threat_intel_events_categories_catalog_list", + title: "List all event categories", + description: "Lists every event category in the catalog, whether or not an event uses it. To list only the categories used in specific datasets, use `threat-intel events categories list`.", inputSchema: { type: "object", properties: { @@ -65,7 +65,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists categories" + "title": "List all event categories" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/categories/catalog", diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts similarity index 91% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts index 89921ef0..c2cdad8b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.categories`. + * The tools of `cloudforce_one.threat_intel.events.categories`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_categories_create", - title: "Creates a new category", - description: "Creates a new threat event category in Cloudforce One for organizing and classifying threat events.", + name: "cloudforce_one_threat_intel_events_categories_create", + title: "Create an event category", + description: "Creates an event category for classifying events. `name` and `killChain` are required.", inputSchema: { type: "object", properties: { @@ -92,7 +92,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Creates a new category" + "title": "Create an event category" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/categories/create", @@ -176,9 +176,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_events_categories_delete", - title: "Deletes a category", - description: "Removes a threat event category from Cloudforce One.", + name: "cloudforce_one_threat_intel_events_categories_delete", + title: "Delete an event category", + description: "Deletes an event category by its ID.", inputSchema: { type: "object", properties: { @@ -213,7 +213,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Deletes a category" + "title": "Delete an event category" }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", @@ -272,178 +272,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_events_categories_edit", - title: "Updates a category", - description: "Partially updates a threat event category in Cloudforce One, modifying specific fields without replacing the entire category.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "body": { - "properties": { - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "shortname": { - "type": "string" - } - }, - "type": "object" - }, - "category_id": { - "description": "Category UUID.", - "format": "uuid", - "type": "string" - } - }, - required: [ - "account_id", - "category_id" - ], - }, - outputSchema: { - "properties": { - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "shortname": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "killChain", - "name", - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates a category" - }, - method: "PATCH", - path: "/accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "shortname": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "killChain", - "name", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "cloudforce_one_threat_events_categories_get", - title: "Reads a category", - description: "Retrieves details for a specific threat event category.", + name: "cloudforce_one_threat_intel_events_categories_get", + title: "Get an event category", + description: "Returns an event category by its ID.", inputSchema: { type: "object", properties: { @@ -501,7 +332,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Reads a category" + "title": "Get an event category" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", @@ -584,9 +415,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_events_categories_list", - title: "Lists categories across multiple datasets", - description: "Lists all threat event categories configured for classifying and organizing threat events.", + name: "cloudforce_one_threat_intel_events_categories_list", + title: "List event categories used in datasets", + description: "Lists the event categories used by events in the datasets given by `datasetIds`, or in the default dataset when `datasetIds` is omitted. Dataset scope values are not supported. To list every category, use `threat-intel events categories catalog list`.", inputSchema: { type: "object", properties: { @@ -648,7 +479,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists categories across multiple datasets" + "title": "List event categories used in datasets" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/categories", @@ -736,4 +567,173 @@ export const tools: readonly Tool[] = [ ], }), }, + { + name: "cloudforce_one_threat_intel_events_categories_update", + title: "Update an event category", + description: "Updates the given fields of an event category and leaves the other fields unchanged.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + } + }, + "type": "object" + }, + "category_id": { + "description": "Category UUID.", + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "category_id" + ], + }, + outputSchema: { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Update an event category" + }, + method: "PATCH", + path: "/accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "type": "string" + }, + "shortname": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "killChain", + "name", + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts similarity index 89% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts index ac1b797e..8136ba03 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/countries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.countries`. + * The tools of `cloudforce_one.threat_intel.events.countries`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_countries_list", - title: "Retrieves countries information for all countries", - description: "Lists countries referenced in Cloudforce One threat intelligence data.", + name: "cloudforce_one_threat_intel_events_countries_list", + title: "List countries", + description: "Lists the countries used in threat intelligence data, such as attacker and target countries.", inputSchema: { type: "object", properties: { @@ -65,7 +65,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Retrieves countries information for all countries" + "title": "List countries" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/countries", diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts similarity index 87% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts index 233f450e..27b1a070 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.raw`. + * The tools of `cloudforce_one.threat_intel.events.legacy.raw`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_raw_edit", - title: "Updates a raw event", - description: "Partially updates raw threat event data in Cloudforce One, modifying specific fields of the event.", + name: "cloudforce_one_threat_intel_events_legacy_raw_get", + title: "Get raw event data by raw ID (legacy)", + description: "Legacy. Returns raw data stored under a `raw_id`, which new events don't use. Use `threat-intel events raw get` (`GET /events/datasets/{dataset_id}/events/{event_id}/raw`) instead.", inputSchema: { type: "object", properties: { @@ -18,20 +18,6 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "body": { - "properties": { - "data": { - "type": "object" - }, - "source": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "type": "object" - }, "event_id": { "description": "Event UUID.", "type": "string" @@ -49,47 +35,80 @@ export const tools: readonly Tool[] = [ }, outputSchema: { "properties": { + "accountId": { + "type": "number" + }, + "created": { + "type": "string" + }, "data": { "type": "object" }, "id": { "type": "string" + }, + "source": { + "type": "string" + }, + "tlp": { + "type": "string" } }, "required": [ + "accountId", + "created", "data", - "id" + "id", + "source", + "tlp" ], "type": "object", }, annotations: { "destructiveHint": false, - "idempotentHint": false, + "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates a raw event" + "readOnlyHint": true, + "title": "Get raw event data by raw ID (legacy)" }, - method: "PATCH", + method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}", extensions: { "x-api-token-group": [ - "Cloudforce One Write" + "Cloudforce One Write", + "Cloudforce One Read" ] }, responses: { schemas: { "200": { "properties": { + "accountId": { + "type": "number" + }, + "created": { + "type": "string" + }, "data": { "type": "object" }, "id": { "type": "string" + }, + "source": { + "type": "string" + }, + "tlp": { + "type": "string" } }, "required": [ + "accountId", + "created", "data", - "id" + "id", + "source", + "tlp" ], "type": "object" }, @@ -127,13 +146,12 @@ export const tools: readonly Tool[] = [ }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}/raw/${pathParam(args, "raw_id")}`, - body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_events_raw_get", - title: "Reads data for a raw event", - description: "Retrieves raw threat event data for a specific event in Cloudforce One.", + name: "cloudforce_one_threat_intel_events_legacy_raw_update", + title: "Update raw event data by raw ID (legacy)", + description: "Legacy. Updates raw data stored under a `raw_id`, which new events don't use. There is no direct replacement.", inputSchema: { type: "object", properties: { @@ -141,6 +159,20 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, + "body": { + "properties": { + "data": { + "type": "object" + }, + "source": { + "type": "string" + }, + "tlp": { + "type": "string" + } + }, + "type": "object" + }, "event_id": { "description": "Event UUID.", "type": "string" @@ -158,80 +190,47 @@ export const tools: readonly Tool[] = [ }, outputSchema: { "properties": { - "accountId": { - "type": "number" - }, - "created": { - "type": "string" - }, "data": { "type": "object" }, "id": { "type": "string" - }, - "source": { - "type": "string" - }, - "tlp": { - "type": "string" } }, "required": [ - "accountId", - "created", "data", - "id", - "source", - "tlp" + "id" ], "type": "object", }, annotations: { "destructiveHint": false, - "idempotentHint": true, + "idempotentHint": false, "openWorldHint": true, - "readOnlyHint": true, - "title": "Reads data for a raw event" + "readOnlyHint": false, + "title": "Update raw event data by raw ID (legacy)" }, - method: "GET", + method: "PATCH", path: "/accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}", extensions: { "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" + "Cloudforce One Write" ] }, responses: { schemas: { "200": { "properties": { - "accountId": { - "type": "number" - }, - "created": { - "type": "string" - }, "data": { "type": "object" }, "id": { "type": "string" - }, - "source": { - "type": "string" - }, - "tlp": { - "type": "string" } }, "required": [ - "accountId", - "created", "data", - "id", - "source", - "tlp" + "id" ], "type": "object" }, @@ -269,6 +268,7 @@ export const tools: readonly Tool[] = [ }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}/raw/${pathParam(args, "raw_id")}`, + body: { value: args["body"], mediaType: "application/json" }, }), }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts similarity index 60% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts index 44f291e1..f8a082c1 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.dataset`. + * The tools of `cloudforce_one.threat_intel.events.legacy.references`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_create", - title: "Updates an existing dataset", - description: "Updates an existing dataset", + name: "cloudforce_one_threat_intel_events_legacy_references_create", + title: "Add event references (legacy)", + description: "Legacy. Use `threat-intel events relationships create` (`POST /events/relationships/create`) instead.", inputSchema: { type: "object", properties: { @@ -20,52 +20,36 @@ export const tools: readonly Tool[] = [ }, "body": { "properties": { - "isPublic": { - "description": "If true, then anyone can search the dataset. If false, then its limited to the account.", - "type": "boolean" - }, - "name": { - "description": "Used to describe the dataset within the account context.", - "type": "string" + "events": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ - "isPublic", - "name" + "events" ], "type": "object" }, - "dataset_id": { - "description": "Dataset ID.", - "format": "uuid", + "event_id": { + "description": "Event UUID.", "type": "string" } }, required: [ "account_id", - "dataset_id" + "event_id" ], }, outputSchema: { "properties": { - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { + "success": { "type": "boolean" - }, - "name": { - "type": "string" - }, - "uuid": { - "type": "string" } }, "required": [ - "isAnalytics", - "isPublic", - "name", - "uuid" + "success" ], "type": "object", }, @@ -74,10 +58,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Updates an existing dataset" + "title": "Add event references (legacy)" }, method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + path: "/accounts/{account_id}/cloudforce-one/events/relate/{event_id}/create", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -88,24 +72,12 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "isAnalytics": { - "type": "boolean" - }, - "isPublic": { + "success": { "type": "boolean" - }, - "name": { - "type": "string" - }, - "uuid": { - "type": "string" } }, "required": [ - "isAnalytics", - "isPublic", - "name", - "uuid" + "success" ], "type": "object" }, @@ -142,14 +114,14 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relate/${pathParam(args, "event_id")}/create`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_events_dataset_delete", - title: "Delete a dataset", - description: "Soft-deletes a dataset given a datasetId.", + name: "cloudforce_one_threat_intel_events_legacy_references_delete", + title: "Remove event references (legacy)", + description: "Legacy. Removes references created with `threat-intel events legacy references create`. Use `threat-intel events relationships` for new event links.", inputSchema: { type: "object", properties: { @@ -157,28 +129,38 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "dataset_id": { - "description": "Dataset ID to delete", + "body": { + "properties": { + "events": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "events" + ], + "type": "object" + }, + "event_id": { + "description": "Event UUID.", "type": "string" } }, required: [ "account_id", - "dataset_id" + "event_id" ], }, outputSchema: { "properties": { - "name": { - "type": "string" - }, - "uuid": { - "type": "string" + "success": { + "type": "boolean" } }, "required": [ - "name", - "uuid" + "success" ], "type": "object", }, @@ -187,10 +169,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Delete a dataset" + "title": "Remove event references (legacy)" }, method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", + path: "/accounts/{account_id}/cloudforce-one/events/relate/{event_id}", extensions: { "x-api-token-group": [ "Cloudforce One Write" @@ -200,50 +182,16 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "name": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "name", - "uuid" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" - } - }, - "required": [ - "message" - ], - "type": "object" - }, - "type": "array" - }, - "result": { - "type": "object" - }, "success": { "type": "boolean" } }, "required": [ - "errors", - "result", "success" ], "type": "object" }, - "404": { + "400": { "properties": { "errors": { "items": { @@ -276,7 +224,8 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relate/${pathParam(args, "event_id")}`, + body: { value: args["body"], mediaType: "application/json" }, }), }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts similarity index 87% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts index 24c4c5b4..0bb1df62 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/eventTags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.event_tags`. + * The tools of `cloudforce_one.threat_intel.events.legacy.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_event_tags_create", - title: "Adds a tag to an event", - description: "Adds a tag to a threat event in Cloudforce One for classification and filtering.", + name: "cloudforce_one_threat_intel_events_legacy_tags_create", + title: "Add tags to an event (legacy)", + description: "Legacy. Use `threat-intel tags relationships create` (`POST /events/tags/{tag_uuid}/relationships`) instead.", inputSchema: { type: "object", properties: { @@ -58,7 +58,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Adds a tag to an event" + "title": "Add tags to an event (legacy)" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}/create", @@ -119,9 +119,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_events_event_tags_delete", - title: "Removes a tag from an event", - description: "Removes a tag from a threat event in Cloudforce One.", + name: "cloudforce_one_threat_intel_events_legacy_tags_delete", + title: "Remove tags from an event (legacy)", + description: "Legacy. Use `threat-intel tags relationships delete` (`DELETE /events/tags/{tag_uuid}/relationships/{rel_uuid}`) instead.", inputSchema: { type: "object", properties: { @@ -169,7 +169,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Removes a tag from an event" + "title": "Remove tags from an event (legacy)" }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}", diff --git a/src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts similarity index 56% rename from src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts index 85fde08f..aeaf6a1e 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/relate/create/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts @@ -4,53 +4,51 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.relate.create`. + * The tools of `cloudforce_one.threat_intel.events.legacy`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_relate_create_create", - title: "Creates event references for a event", - description: "Creates event references for a event", + name: "cloudforce_one_threat_intel_events_legacy_graphql", + title: "Run a GraphQL aggregation over events (legacy)", + description: "Legacy. Use `threat-intel events graphql` (`POST /events/graphql`) instead. Both commands run the same query.", inputSchema: { type: "object", properties: { "account_id": { "description": "Account ID.", "type": "string" - }, - "body": { - "properties": { - "events": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "events" - ], - "type": "object" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" } }, required: [ - "account_id", - "event_id" + "account_id" ], }, outputSchema: { "properties": { - "success": { - "type": "boolean" + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] } }, - "required": [ - "success" - ], "type": "object", }, annotations: { @@ -58,27 +56,43 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Creates event references for a event" + "title": "Run a GraphQL aggregation over events (legacy)" }, method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/relate/{event_id}/create", + path: "/accounts/{account_id}/cloudforce-one/v2/events/graphql", extensions: { "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" + "Cloudforce One Write" ] }, responses: { schemas: { "200": { "properties": { - "success": { - "type": "boolean" + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] } }, - "required": [ - "success" - ], "type": "object" }, "400": { @@ -114,8 +128,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relate/${pathParam(args, "event_id")}/create`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/events/graphql`, }), }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts similarity index 79% rename from src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts index 0cf7b1b2..ddbf9a52 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/queries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.queries`. + * The tools of `cloudforce_one.threat_intel.events.queries`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_queries_create", - title: "Update a saved event query", - description: "Update an existing saved event query by its ID", + name: "cloudforce_one_threat_intel_events_queries_create", + title: "Create a saved event query", + description: "Saves an event query under a unique `name`. `query_json` holds the query parameters as a JSON string.", inputSchema: { type: "object", properties: { @@ -21,11 +21,13 @@ export const tools: readonly Tool[] = [ "body": { "properties": { "alert_enabled": { + "default": false, "deprecated": true, "description": "Deprecated and ignored: saved-query alerting and rules were removed.", "type": "boolean" }, "alert_rollup_enabled": { + "default": false, "deprecated": true, "description": "Deprecated and ignored: saved-query alerting and rules were removed.", "type": "boolean" @@ -39,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "rule_enabled": { + "default": false, "deprecated": true, "description": "Deprecated and ignored: saved-query alerting and rules were removed.", "type": "boolean" @@ -49,16 +52,15 @@ export const tools: readonly Tool[] = [ "type": "string" } }, + "required": [ + "name", + "query_json" + ], "type": "object" - }, - "query_id": { - "description": "Event query ID", - "type": "string" } }, required: [ - "account_id", - "query_id" + "account_id" ], }, outputSchema: { @@ -129,10 +131,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Update a saved event query" + "title": "Create a saved event query" }, method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/queries/{query_id}", + path: "/accounts/{account_id}/cloudforce-one/events/queries/create", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -233,7 +235,52 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/create`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_events_queries_delete", + title: "Delete a saved event query", + description: "Deletes a saved event query by its ID.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" }, + "query_id": { + "description": "Event query ID", + "type": "string" + } + }, + required: [ + "account_id", + "query_id" + ], + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete a saved event query" + }, + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/queries/{query_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": null, "404": { "properties": { "errors": { @@ -268,13 +315,12 @@ export const tools: readonly Tool[] = [ }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, - body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_events_queries_create_create", - title: "Create a saved event query", - description: "Create a new saved event query for the account", + name: "cloudforce_one_threat_intel_events_queries_get", + title: "Get a saved event query", + description: "Returns a saved event query by its ID.", inputSchema: { type: "object", properties: { @@ -282,49 +328,14 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "body": { - "properties": { - "alert_enabled": { - "default": false, - "deprecated": true, - "description": "Deprecated and ignored: saved-query alerting and rules were removed.", - "type": "boolean" - }, - "alert_rollup_enabled": { - "default": false, - "deprecated": true, - "description": "Deprecated and ignored: saved-query alerting and rules were removed.", - "type": "boolean" - }, - "name": { - "description": "Unique name for the saved query", - "type": "string" - }, - "query_json": { - "description": "JSON string containing the query parameters", - "type": "string" - }, - "rule_enabled": { - "default": false, - "deprecated": true, - "description": "Deprecated and ignored: saved-query alerting and rules were removed.", - "type": "boolean" - }, - "rule_scope": { - "deprecated": true, - "description": "Deprecated and ignored: saved-query alerting and rules were removed.", - "type": "string" - } - }, - "required": [ - "name", - "query_json" - ], - "type": "object" + "query_id": { + "description": "Event query ID", + "type": "string" } }, required: [ - "account_id" + "account_id", + "query_id" ], }, outputSchema: { @@ -392,13 +403,13 @@ export const tools: readonly Tool[] = [ }, annotations: { "destructiveHint": false, - "idempotentHint": false, + "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": false, - "title": "Create a saved event query" + "readOnlyHint": true, + "title": "Get a saved event query" }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/queries/create", + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/queries/{query_id}", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -470,7 +481,7 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "400": { + "404": { "properties": { "errors": { "items": { @@ -503,49 +514,176 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/create`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, }), }, { - name: "cloudforce_one_events_queries_delete", - title: "Delete a saved event query", - description: "Delete a saved event query by its ID", + name: "cloudforce_one_threat_intel_events_queries_list", + title: "List saved event queries", + description: "Lists the account's saved event queries.", inputSchema: { type: "object", properties: { "account_id": { "description": "Account ID.", "type": "string" - }, - "query_id": { - "description": "Event query ID", - "type": "string" } }, required: [ - "account_id", - "query_id" + "account_id" ], }, + outputSchema: { + "items": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "type": "array", + }, annotations: { - "destructiveHint": true, + "destructiveHint": false, "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete a saved event query" + "readOnlyHint": true, + "title": "List saved event queries" }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/queries/{query_id}", + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/queries", extensions: { "x-api-token-group": [ - "Cloudforce One Write" + "Cloudforce One Write", + "Cloudforce One Read" ] }, responses: { schemas: { - "200": null, - "404": { + "200": { + "items": { + "properties": { + "account_id": { + "type": "integer" + }, + "alert_enabled": { + "type": "boolean" + }, + "alert_rollup_enabled": { + "type": "boolean" + }, + "created_at": { + "type": "string" + }, + "custom_threat_feed_id": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "id": { + "type": "integer" + }, + "name": { + "type": "string" + }, + "query_json": { + "type": "string" + }, + "rule_enabled": { + "type": "boolean" + }, + "rule_list_id": { + "type": "string" + }, + "rule_scope": { + "type": "string" + }, + "updated_at": { + "type": "string" + }, + "user_email": { + "type": "string" + } + }, + "required": [ + "account_id", + "alert_enabled", + "alert_rollup_enabled", + "created_at", + "id", + "name", + "query_json", + "rule_enabled", + "updated_at", + "user_email" + ], + "type": "object" + }, + "type": "array" + }, + "4XX": null, + "500": { "properties": { "errors": { "items": { @@ -578,13 +716,13 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries/${pathParam(args, "query_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/queries`, }), }, { - name: "cloudforce_one_events_queries_patch", + name: "cloudforce_one_threat_intel_events_queries_update", title: "Update a saved event query", - description: "Update an existing saved event query by its ID", + description: "Updates the given fields of a saved event query.", inputSchema: { type: "object", properties: { diff --git a/src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts similarity index 55% rename from src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts index 8e985ece..0b90e8f5 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.categories`. + * The tools of `cloudforce_one.threat_intel.events.raw`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_categories_create", - title: "Updates a category", - description: "Updates a category", + name: "cloudforce_one_threat_intel_events_raw_get", + title: "Get raw data for an event", + description: "Returns the raw source data stored with an event.", inputSchema: { type: "object", properties: { @@ -18,86 +18,61 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "body": { - "properties": { - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "type": "string" - }, - "shortname": { - "type": "string" - } - }, - "type": "object" + "dataset_id": { + "description": "Dataset ID.", + "type": "string" }, - "category_id": { - "description": "Category UUID.", - "format": "uuid", + "event_id": { + "description": "Event ID.", "type": "string" } }, required: [ "account_id", - "category_id" + "dataset_id", + "event_id" ], }, outputSchema: { "properties": { - "killChain": { + "accountId": { "type": "number" }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" + "created": { + "type": "string" }, - "name": { + "data": { "type": "string" }, - "shortname": { + "id": { + "type": "number" + }, + "source": { "type": "string" }, - "uuid": { + "tlp": { "type": "string" } }, "required": [ - "killChain", - "name", - "uuid" + "accountId", + "created", + "data", + "id", + "source", + "tlp" ], "type": "object", }, annotations: { "destructiveHint": false, - "idempotentHint": false, + "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": false, - "title": "Updates a category" + "readOnlyHint": true, + "title": "Get raw data for an event" }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events/{event_id}/raw", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -108,39 +83,66 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "killChain": { + "accountId": { "type": "number" }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" + "created": { + "type": "string" }, - "name": { + "data": { "type": "string" }, - "shortname": { + "id": { + "type": "number" + }, + "source": { "type": "string" }, - "uuid": { + "tlp": { "type": "string" } }, "required": [ - "killChain", - "name", - "uuid" + "accountId", + "created", + "data", + "id", + "source", + "tlp" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" ], "type": "object" }, - "400": { + "500": { "properties": { "errors": { "items": { @@ -173,8 +175,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/event-categories/by-id/${pathParam(args, "category_id")}`, - body: { value: args["body"], mediaType: "application/json" }, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events/${pathParam(args, "event_id")}/raw`, }), }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts similarity index 57% rename from src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts index c3fa7f8c..e97b42d4 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts @@ -1,16 +1,294 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.relationships`. + * The tools of `cloudforce_one.threat_intel.events.relationships`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_relationships_get", - title: "Filter and list events related to specific event", - description: "The `event_id` must be defined (to list existing events (and their IDs), use the [`Filter and List Events`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/methods/list/) endpoint). Also, must provide query parameters.", + name: "cloudforce_one_threat_intel_events_relationships_create", + title: "Create event relationships", + description: "Creates directed relationships of type `relationshipType` from a parent event to one or more child events in the same dataset.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "childIds": { + "description": "Array of UUIDs for child events. Single child = 1:1 relationship, multiple = 1:many relationships", + "items": { + "format": "uuid", + "type": "string" + }, + "minItems": 1, + "type": "array" + }, + "datasetId": { + "description": "Dataset identifier where the events are stored", + "type": "string" + }, + "parentId": { + "description": "UUID of the parent event that will be the source of the relationship", + "format": "uuid", + "type": "string" + }, + "relationshipType": { + "description": "Type of relationship to create between parent and child events", + "enum": [ + "related_to", + "caused_by", + "attributed_to" + ], + "type": "string" + } + }, + "required": [ + "childIds", + "datasetId", + "parentId", + "relationshipType" + ], + "type": "object" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "childIds": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "errors": { + "items": { + "properties": { + "childId": { + "format": "uuid", + "type": "string" + }, + "error": { + "type": "string" + }, + "errorType": { + "type": "string" + } + }, + "required": [ + "childId", + "error" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "relationships": { + "items": { + "properties": { + "childDatasetId": { + "type": "string" + }, + "childId": { + "format": "uuid", + "type": "string" + }, + "parentDatasetId": { + "type": "string" + }, + "parentId": { + "format": "uuid", + "type": "string" + }, + "relationshipType": { + "enum": [ + "related_to", + "caused_by", + "attributed_to" + ], + "type": "string" + } + }, + "required": [ + "childDatasetId", + "childId", + "parentDatasetId", + "parentId", + "relationshipType" + ], + "type": "object" + }, + "type": "array" + }, + "relationshipsCreated": { + "type": "number" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "message", + "relationships", + "success" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create event relationships" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/relationships/create", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "childIds": { + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "errors": { + "items": { + "properties": { + "childId": { + "format": "uuid", + "type": "string" + }, + "error": { + "type": "string" + }, + "errorType": { + "type": "string" + } + }, + "required": [ + "childId", + "error" + ], + "type": "object" + }, + "type": "array" + }, + "message": { + "type": "string" + }, + "relationships": { + "items": { + "properties": { + "childDatasetId": { + "type": "string" + }, + "childId": { + "format": "uuid", + "type": "string" + }, + "parentDatasetId": { + "type": "string" + }, + "parentId": { + "format": "uuid", + "type": "string" + }, + "relationshipType": { + "enum": [ + "related_to", + "caused_by", + "attributed_to" + ], + "type": "string" + } + }, + "required": [ + "childDatasetId", + "childId", + "parentDatasetId", + "parentId", + "relationshipType" + ], + "type": "object" + }, + "type": "array" + }, + "relationshipsCreated": { + "type": "number" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "message", + "relationships", + "success" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/relationships/create`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_events_relationships_list", + title: "List related events", + description: "Lists events related to an event by following its relationships. `datasetId` is required. Use `direction`, `maxDepth`, and `relationshipTypes` to control which relationships are followed.", inputSchema: { type: "object", properties: { @@ -229,7 +507,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Filter and list events related to specific event" + "title": "List related events" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/by-id/{event_id}/relationships", diff --git a/src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts similarity index 85% rename from src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts index 5a0a2942..94ed7f89 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/target/industries/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts @@ -4,13 +4,13 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.target.industries.catalog`. + * The tools of `cloudforce_one.threat_intel.events.target_industries.catalog`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_target_industries_catalog_get", - title: "Lists all target industries from industry map catalog", - description: "Lists all target industries from industry map catalog", + name: "cloudforce_one_threat_intel_events_target_industries_catalog_list", + title: "List all target industries", + description: "Lists every predefined target industry, whether or not an event uses it. To list only the industries used in specific datasets, use `threat-intel events target-industries list`.", inputSchema: { type: "object", properties: { @@ -51,7 +51,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists all target industries from industry map catalog" + "title": "List all target industries" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/targetIndustries/catalog", diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts similarity index 86% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts index d6def4f0..989e98a8 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/target/industries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts @@ -4,13 +4,13 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.dataset.target.industries`. + * The tools of `cloudforce_one.threat_intel.events.target_industries.legacy`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_target_industries_get", - title: "Lists all target industries for a specific dataset", - description: "Lists all target industries for a specific dataset", + name: "cloudforce_one_threat_intel_events_target_industries_legacy_list", + title: "List target industries in a dataset (legacy)", + description: "Legacy. Use `threat-intel events target-industries list` (`GET /events/targetIndustries`) instead.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { @@ -57,7 +57,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists all target industries for a specific dataset" + "title": "List target industries in a dataset (legacy)" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/targetIndustries", diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts similarity index 83% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts index 393e46b4..8a9b9f36 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/targetIndustries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.target_industries`. + * The tools of `cloudforce_one.threat_intel.events.target_industries`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_target_industries_list", - title: "Lists target industries across multiple datasets", - description: "Retrieves the catalog of industry classifications used in Cloudforce One threat intelligence.", + name: "cloudforce_one_threat_intel_events_target_industries_list", + title: "List target industries used in datasets", + description: "Lists the target industries referenced by events in the datasets given by `datasetIds`, or in the default dataset when `datasetIds` is omitted. To list every target industry, use `threat-intel events target-industries catalog list`.", inputSchema: { type: "object", properties: { @@ -58,7 +58,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists target industries across multiple datasets" + "title": "List target industries used in datasets" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/targetIndustries", diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts similarity index 69% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts index f1dfb0ae..d301a73f 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts @@ -1,16 +1,244 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events`. + * The tools of `cloudforce_one.threat_intel.events`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_bulk_create", - title: "Creates bulk events", - description: "The `datasetId` parameter must be defined. To list existing datasets (and their IDs) in your account, use the [`List Datasets`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/list/) endpoint.", + name: "cloudforce_one_threat_intel_events_aggregate", + title: "Aggregate events", + description: "Counts events grouped by one or more columns, such as `attacker` or `targetIndustry`. Optionally filter by date range and group the counts by day.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "aggregate_by": { + "description": "Column(s) to aggregate by - single column or comma-separated list (e.g., 'attacker', 'targetIndustry', 'attacker,targetIndustry'). With `tags`, an event counts once for each of its tags, in the bucket counts and in `total`, and events without tags count as `Unknown`; `tags` is not supported for analytics datasets.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUIDs to filter by, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets. If not provided, uses the default dataset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "end_date": { + "description": "End date for filtering (ISO 8601 format, e.g., '2024-12-31')", + "type": "string" + }, + "group_by_date": { + "description": "Whether to group results by date (daily aggregation)", + "type": "boolean" + }, + "limit": { + "default": 100, + "description": "Maximum number of results to return", + "type": "number" + }, + "start_date": { + "description": "Start date for filtering (ISO 8601 format, e.g., '2024-01-01')", + "type": "string" + } + }, + required: [ + "account_id", + "aggregate_by" + ], + }, + outputSchema: { + "properties": { + "aggregateBy": { + "type": "string" + }, + "aggregations": { + "items": { + "allOf": [ + { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + { + "properties": { + "count": { + "type": "number" + }, + "date": { + "type": "string" + } + }, + "required": [ + "count" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "dateRange": { + "properties": { + "endDate": { + "type": "string" + }, + "startDate": { + "type": "string" + } + }, + "type": "object" + }, + "total": { + "type": "number" + } + }, + "required": [ + "aggregateBy", + "aggregations", + "total" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Aggregate events" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/aggregate", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "aggregateBy": { + "type": "string" + }, + "aggregations": { + "items": { + "allOf": [ + { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "object" + }, + { + "properties": { + "count": { + "type": "number" + }, + "date": { + "type": "string" + } + }, + "required": [ + "count" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "dateRange": { + "properties": { + "endDate": { + "type": "string" + }, + "startDate": { + "type": "string" + } + }, + "type": "object" + }, + "total": { + "type": "number" + } + }, + "required": [ + "aggregateBy", + "aggregations", + "total" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/aggregate`, + query: [ + ["aggregateBy", args["aggregate_by"], true], + ["datasetId", args["dataset_id"], true], + ["startDate", args["start_date"], true], + ["endDate", args["end_date"], true], + ["groupByDate", args["group_by_date"], true], + ["limit", args["limit"], true], + ], + }), + }, + { + name: "cloudforce_one_threat_intel_events_bulk_create", + title: "Create events in bulk", + description: "Creates multiple events in one dataset. `datasetId` is required; to find dataset IDs, use `threat-intel datasets list`. Set `includeCreatedEvents` to return the UUIDs of the created events.", inputSchema: { type: "object", properties: { @@ -225,7 +453,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Creates bulk events" + "title": "Create events in bulk" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/create/bulk", @@ -343,308 +571,142 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_events_create", - title: "Creates a new event", - description: "To create a dataset, see the [`Create Dataset`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/create/) endpoint. When `datasetId` parameter is unspecified, it will be created in a default dataset named `Cloudforce One Threat Events`.", + name: "cloudforce_one_threat_intel_events_bulk_update", + title: "Update events in bulk", + description: "Applies the same field values to up to 100 events in one dataset. The `date` field can't be changed in bulk.", inputSchema: { type: "object", properties: { - "account_id_path": { + "account_id": { "description": "Account ID.", "type": "string" }, "body": { "properties": { - "accountId": { - "type": "number" - }, - "attacker": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "attackerCountry": { - "type": "string" - }, - "category": { - "type": "string" - }, "datasetId": { + "description": "Dataset ID containing the events to update. Required to prevent cross-account modifications.", "type": "string" }, - "date": { - "format": "date-time", - "type": "string" - }, - "event": { - "type": "string" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicators": { - "description": "Array of indicators for this event. Supports multiple indicators per event for complex scenarios.", + "eventIds": { + "description": "List of event UUIDs to update (1-100)", "items": { - "properties": { - "indicatorType": { - "description": "The type of indicator (e.g., DOMAIN, IP, JA3, HASH)", - "type": "string" - }, - "value": { - "description": "The indicator value (e.g., domain name, IP address, hash)", - "type": "string" - } - }, - "required": [ - "indicatorType", - "value" - ], - "type": "object" + "type": "string" }, + "maxItems": 100, + "minItems": 1, "type": "array" }, - "insight": { - "type": "string" - }, - "raw": { + "updates": { + "description": "Fields to update on all specified events. All fields including 'insight' are supported, except 'date' which requires shard migration.", "properties": { - "data": { + "attacker": { "oneOf": [ { - "type": "object" + "type": "string" }, { "type": "null" } ] }, - "source": { + "attackerCountry": { "type": "string" }, - "tlp": { + "category": { "type": "string" - } - }, - "required": [ - "data" - ], - "type": "object" - }, - "source": { - "description": "Controlled provenance for an event and its indicators derived from a Threat Signals article.", - "properties": { - "resourceId": { - "format": "uuid", + }, + "createdAt": { + "format": "date-time", "type": "string" }, - "resourceType": { - "enum": [ - "article" - ], + "event": { "type": "string" }, - "system": { - "enum": [ - "threat-signals" - ], + "indicator": { "type": "string" }, - "title": { - "description": "Threat Signals article title; null for historical provenance without a stored title.", - "oneOf": [ - { + "indicatorType": { + "type": "string" + }, + "insight": { + "type": "string" + }, + "raw": { + "properties": { + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "source": { "type": "string" }, - { - "type": "null" + "tlp": { + "type": "string" } - ] + }, + "type": "object" + }, + "targetCountry": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" } }, - "required": [ - "resourceId", - "resourceType", - "system" - ], "type": "object" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" } }, "required": [ - "category", - "date", - "event", - "raw", - "tlp" + "datasetId", + "eventIds", + "updates" ], "type": "object" } }, required: [ - "account_id_path" + "account_id" ], }, outputSchema: { "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { + "failedCount": { "type": "number" }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { + "failures": { "items": { - "type": "string" + "properties": { + "error": { + "type": "string" + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "error", + "eventId" + ], + "type": "object" }, "type": "array" }, - "numReferenced": { - "type": "number" - }, - "numReferences": { + "updatedCount": { "type": "number" - }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "references": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - }, - "uuid": { - "type": "string" } }, "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" + "failedCount", + "updatedCount" ], "type": "object", }, @@ -653,157 +715,219 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Creates a new event" + "title": "Update events in bulk" }, - method: "POST", - path: "/accounts/{account_id_path}/cloudforce-one/events/create", + method: "PATCH", + path: "/accounts/{account_id}/cloudforce-one/events/update/bulk", extensions: { "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" + "Cloudforce One Write" ] }, responses: { schemas: { "200": { "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { + "failedCount": { "type": "number" }, - "mitreAttack": { + "failures": { "items": { - "type": "string" + "properties": { + "error": { + "type": "string" + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "error", + "eventId" + ], + "type": "object" }, "type": "array" }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "numReferenced": { + "updatedCount": { "type": "number" + } + }, + "required": [ + "failedCount", + "updatedCount" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" }, - "numReferences": { - "type": "number" + "result": { + "type": "object" }, - "rawId": { + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/update/bulk`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_events_copy", + title: "Copy events to another dataset", + description: "Copies events to the dataset given by `destDatasetId` and leaves the originals in place. Raw event data is copied only when `keepRawData` is true.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "destDatasetId": { "type": "string" }, - "referenced": { + "eventIds": { "items": { "type": "string" }, "type": "array" - }, - "referencedIds": { - "items": { + } + }, + "required": [ + "destDatasetId", + "eventIds" + ], + "type": "object" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "keep_raw_data": { + "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied).", + "type": "boolean" + } + }, + required: [ + "account_id", + "dataset_id" + ], + }, + outputSchema: { + "properties": { + "copied": { + "type": "number" + }, + "indicatorsCopied": { + "type": "number" + }, + "insertFailures": { + "items": { + "properties": { + "index": { "type": "number" }, - "type": "array" - }, - "references": { - "items": { + "reason": { "type": "string" - }, - "type": "array" + } }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" + "required": [ + "index", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "relationshipsCopied": { + "type": "number" + } + }, + "required": [ + "copied", + "indicatorsCopied", + "relationshipsCopied" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Copy events to another dataset" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/copy", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "copied": { + "type": "number" }, - "releasabilityId": { - "type": "string" + "indicatorsCopied": { + "type": "number" }, - "tags": { + "insertFailures": { "items": { - "type": "string" + "properties": { + "index": { + "type": "number" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "index", + "reason" + ], + "type": "object" }, "type": "array" }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - }, - "uuid": { - "type": "string" + "relationshipsCopied": { + "type": "number" } }, "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" + "copied", + "indicatorsCopied", + "relationshipsCopied" ], "type": "object" }, @@ -840,23 +964,29 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id_path")}/cloudforce-one/events/create`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/copy`, + query: [ + ["keepRawData", args["keep_raw_data"], true], + ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_events_edit", - title: "Updates an event", - description: "Partially updates a threat event in Cloudforce One, modifying specific fields without replacing the entire event.", + name: "cloudforce_one_threat_intel_events_create", + title: "Create an event", + description: "Creates an event. Without `datasetId`, the event is created in the default Cloudforce One Threat Events dataset. To create a dataset, use `threat-intel datasets create`.", inputSchema: { type: "object", properties: { - "account_id": { + "account_id_path": { "description": "Account ID.", "type": "string" }, "body": { "properties": { + "accountId": { + "type": "number" + }, "attacker": { "oneOf": [ { @@ -873,12 +1003,7 @@ export const tools: readonly Tool[] = [ "category": { "type": "string" }, - "createdAt": { - "format": "date-time", - "type": "string" - }, "datasetId": { - "description": "Dataset ID containing the event to update.", "type": "string" }, "date": { @@ -894,6 +1019,27 @@ export const tools: readonly Tool[] = [ "indicatorType": { "type": "string" }, + "indicators": { + "description": "Array of indicators for this event. Supports multiple indicators per event for complex scenarios.", + "items": { + "properties": { + "indicatorType": { + "description": "The type of indicator (e.g., DOMAIN, IP, JA3, HASH)", + "type": "string" + }, + "value": { + "description": "The indicator value (e.g., domain name, IP address, hash)", + "type": "string" + } + }, + "required": [ + "indicatorType", + "value" + ], + "type": "object" + }, + "type": "array" + }, "insight": { "type": "string" }, @@ -916,43 +1062,89 @@ export const tools: readonly Tool[] = [ "type": "string" } }, + "required": [ + "data" + ], "type": "object" }, - "targetCountry": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { - "type": "string" - } - }, - "required": [ - "datasetId" - ], - "type": "object" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "event_id" - ], - }, - outputSchema: { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" + "source": { + "description": "Controlled provenance for an event and its indicators derived from a Threat Signals article.", + "properties": { + "resourceId": { + "format": "uuid", + "type": "string" + }, + "resourceType": { + "enum": [ + "article" + ], + "type": "string" + }, + "system": { + "enum": [ + "threat-signals" + ], + "type": "string" + }, + "title": { + "description": "Threat Signals article title; null for historical provenance without a stored title.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "resourceId", + "resourceType", + "system" + ], + "type": "object" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + } + }, + "required": [ + "category", + "date", + "event", + "raw", + "tlp" + ], + "type": "object" + } + }, + required: [ + "account_id_path" + ], + }, + outputSchema: { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" }, "category": { "type": "string" @@ -1090,13 +1282,14 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Updates an event" + "title": "Create an event" }, - method: "PATCH", - path: "/accounts/{account_id}/cloudforce-one/events/{event_id}", + method: "POST", + path: "/accounts/{account_id_path}/cloudforce-one/events/create", extensions: { "x-api-token-group": [ - "Cloudforce One Write" + "Cloudforce One Write", + "Cloudforce One Read" ] }, responses: { @@ -1276,14 +1469,14 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}`, + path: `/accounts/${pathParam(args, "account_id_path")}/cloudforce-one/events/create`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_events_list", - title: "Filter and list events", - description: "Use one standalone `datasetId` scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets and must be used alone. When `datasetId` is unspecified, events are listed from the default Cloudforce One Threat Events dataset. To list existing datasets, use the [`List Datasets`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/list/) endpoint.", + name: "cloudforce_one_threat_intel_events_delete", + title: "Delete events", + description: "Deletes one or more events from a dataset. Pass the event UUIDs in `eventIds`.", inputSchema: { type: "object", properties: { @@ -1291,319 +1484,898 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "cache": { - "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit.", - "enum": [ - "from-graph" - ], - "type": "string" - }, - "cursor": { - "description": "Cursor for pagination. When provided, filters are embedded in the cursor so you only need to pass cursor and pageSize. Returned in the previous response's result_info.cursor field. Use cursor-based pagination for deep pagination (beyond 100,000 records) or for optimal performance.", + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", "type": "string" }, - "dataset_id": { - "description": "Dataset UUIDs to query, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets. If not provided, uses the default dataset.", + "event_ids": { + "description": "Array of Event IDs to delete.", "items": { "type": "string" }, "type": "array" + } + }, + required: [ + "account_id", + "dataset_id", + "event_ids" + ], + }, + outputSchema: { + "type": "number", + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete events" + }, + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "type": "number" }, - "force_refresh": { + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events`, + query: [ + ["eventIds", args["event_ids"], true], + ], + }), + }, + { + name: "cloudforce_one_threat_intel_events_get", + title: "Get an event", + description: "Returns an event from a dataset by its UUID.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id", + "event_id" + ], + }, + outputSchema: { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { "type": "boolean" }, - "format": { - "enum": [ - "json", - "stix2", - "taxii" - ], + "indicator": { "type": "string" }, - "order": { - "enum": [ - "asc", - "desc" - ], + "indicatorType": { "type": "string" }, - "order_by": { + "indicatorTypeId": { + "type": "number" + }, + "insight": { "type": "string" }, - "page": { - "description": "Page number (1-indexed) for offset-based pagination. Limited to offset of 100,000 records. For deep pagination, use cursor-based pagination instead.", + "killChain": { "type": "number" }, - "page_size": { - "description": "Number of results per page. Maximum 25,000.", + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { "type": "number" }, - "search": { - "default": [], + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { "items": { - "anyOf": [ - { - "properties": { - "field": { - "enum": [ - "attacker", - "attackerCountry", - "category", - "createdAt", - "date", - "event", - "indicator", - "indicatorType", - "mitreAttack", - "mitreCapec", - "tags", - "targetCountry", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "string" - }, - "op": { - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "find" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "attacker", - "attackerCountry", - "category", - "createdAt", - "date", - "event", - "indicator", - "indicatorType", - "mitreAttack", - "mitreCapec", - "tags", - "targetCountry", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "string" - }, - "op": { - "enum": [ - "in" - ], - "type": "string" - }, - "value": { - "items": { - "type": "string" - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "killChain" - ], - "type": "string" - }, - "op": { - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte" - ], - "type": "string" - }, - "value": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "killChain" - ], - "type": "string" - }, - "op": { - "enum": [ - "in" - ], - "type": "string" - }, - "value": { - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "hasChildren" - ], - "type": "string" - }, - "op": { - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte" - ], - "type": "string" - }, - "value": { - "anyOf": [ - { - "type": "boolean" - }, - { - "enum": [ - "true", - "false", - 1, - 0, - "1", - "0" - ] - } - ] - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "hasChildren" - ], - "type": "string" - }, - "op": { - "enum": [ - "in" - ], - "type": "string" - }, - "value": { - "items": { - "anyOf": [ - { - "type": "boolean" - }, - { - "enum": [ - "true", - "false", - 1, - 0, - "1", - "0" - ] - } - ] - }, - "maxItems": 100, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - } - ] + "type": "string" }, - "maxItems": 10, "type": "array" }, - "search_branches": { - "description": "JSON-encoded. OR branches of structured search filters. Filters within a branch are AND'd, branches are OR'd, and the result is AND'd with `search`: `AND(search) AND OR(AND(branch 1), ...)`. Max 8 branches of 1-10 conditions each. Not supported for analytics datasets, and `indicator` filters are not yet supported inside branches. Cursor pages carry the original branches, so do not resend them with `cursor`.", + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get an event" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/events/{event_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/events/${pathParam(args, "event_id")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_events_graphql", + title: "Run a GraphQL aggregation over events", + description: "Runs a GraphQL aggregation query over events. Supports grouping by multiple fields, date range filters, and aggregation across datasets.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Run a GraphQL aggregation over events" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/graphql", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "errors": { + "oneOf": [ + { + "items": { + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/graphql`, + }), + }, + { + name: "cloudforce_one_threat_intel_events_list", + title: "List events", + description: "Lists events, with filters passed as query parameters. `datasetId` accepts dataset UUIDs or one scope value used alone: `all` (or `*`) and `operational` select the intelligence datasets you can read, and `analytics` selects the analytics datasets you can read. A scope value covers at most 50 datasets. Without `datasetId`, the default Cloudforce One Threat Events dataset is used. To send filters in a JSON body instead, use `threat-intel events search`.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "cache": { + "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit.", + "enum": [ + "from-graph" + ], + "type": "string" + }, + "cursor": { + "description": "Cursor for pagination. When provided, filters are embedded in the cursor so you only need to pass cursor and pageSize. Returned in the previous response's result_info.cursor field. Use cursor-based pagination for deep pagination (beyond 100,000 records) or for optimal performance.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUIDs to query, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets. If not provided, uses the default dataset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "force_refresh": { + "type": "boolean" + }, + "format": { + "enum": [ + "json", + "stix2", + "taxii" + ], + "type": "string" + }, + "order": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order_by": { + "type": "string" + }, + "page": { + "description": "Page number (1-indexed) for offset-based pagination. Limited to offset of 100,000 records. For deep pagination, use cursor-based pagination instead.", + "type": "number" + }, + "page_size": { + "description": "Number of results per page. Maximum 25,000.", + "type": "number" + }, + "search": { + "default": [], + "items": { + "anyOf": [ + { + "properties": { + "field": { + "enum": [ + "attacker", + "attackerCountry", + "category", + "createdAt", + "date", + "event", + "indicator", + "indicatorType", + "mitreAttack", + "mitreCapec", + "tags", + "targetCountry", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "string" + }, + "op": { + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "find" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "attacker", + "attackerCountry", + "category", + "createdAt", + "date", + "event", + "indicator", + "indicatorType", + "mitreAttack", + "mitreCapec", + "tags", + "targetCountry", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "string" + }, + "op": { + "enum": [ + "in" + ], + "type": "string" + }, + "value": { + "items": { + "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "killChain" + ], + "type": "string" + }, + "op": { + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "killChain" + ], + "type": "string" + }, + "op": { + "enum": [ + "in" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "hasChildren" + ], + "type": "string" + }, + "op": { + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "boolean" + }, + { + "enum": [ + "true", + "false", + 1, + 0, + "1", + "0" + ] + } + ] + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + { + "properties": { + "field": { + "enum": [ + "hasChildren" + ], + "type": "string" + }, + "op": { + "enum": [ + "in" + ], + "type": "string" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "boolean" + }, + { + "enum": [ + "true", + "false", + 1, + 0, + "1", + "0" + ] + } + ] + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + } + ] + }, + "maxItems": 10, + "type": "array" + }, + "search_branches": { + "description": "JSON-encoded. OR branches of structured search filters. Filters within a branch are AND'd, branches are OR'd, and the result is AND'd with `search`: `AND(search) AND OR(AND(branch 1), ...)`. Max 8 branches of 1-10 conditions each. Not supported for analytics datasets, and `indicator` filters are not yet supported inside branches. Cursor pages carry the original branches, so do not resend them with `cursor`.", "items": { "items": { "anyOf": [ @@ -2027,7 +2799,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Filter and list events" + "title": "List events" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events", @@ -2234,9 +3006,220 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_events_search", - title: "Filter and list events", - description: "Use one standalone `datasetId` scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Scope values query at most 50 datasets and must be used alone. When `datasetId` is unspecified, events are listed from the default Cloudforce One Threat Events dataset. To list existing datasets, use the [`List Datasets`](https://developers.cloudflare.com/api/resources/cloudforce_one/subresources/threat_events/subresources/datasets/methods/list/) endpoint.", + name: "cloudforce_one_threat_intel_events_move", + title: "Move events to another dataset", + description: "Moves events to the dataset given by `destDatasetId` and removes them from the source dataset. Raw event data is always removed from the source and is kept only when `keepRawData` is true.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "destDatasetId": { + "type": "string" + }, + "eventIds": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "destDatasetId", + "eventIds" + ], + "type": "object" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "keep_raw_data": { + "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied). Raw data is always deleted from the source.", + "type": "boolean" + } + }, + required: [ + "account_id", + "dataset_id" + ], + }, + outputSchema: { + "properties": { + "deletionFailures": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "datasetId", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "indicatorsCopied": { + "type": "number" + }, + "insertFailures": { + "items": { + "properties": { + "index": { + "type": "number" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "index", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "moved": { + "type": "number" + }, + "relationshipsCopied": { + "type": "number" + } + }, + "required": [ + "indicatorsCopied", + "moved", + "relationshipsCopied" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Move events to another dataset" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/move", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "deletionFailures": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "datasetId", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "indicatorsCopied": { + "type": "number" + }, + "insertFailures": { + "items": { + "properties": { + "index": { + "type": "number" + }, + "reason": { + "type": "string" + } + }, + "required": [ + "index", + "reason" + ], + "type": "object" + }, + "type": "array" + }, + "moved": { + "type": "number" + }, + "relationshipsCopied": { + "type": "number" + } + }, + "required": [ + "indicatorsCopied", + "moved", + "relationshipsCopied" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/move`, + query: [ + ["keepRawData", args["keep_raw_data"], true], + ], + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_events_search", + title: "Search events", + description: "Lists events, with filters sent in a JSON request body. Accepts the same filters as `threat-intel events list` and suits long or complex `search` filters. `datasetId` accepts dataset UUIDs or one scope value used alone: `all` (or `*`) and `operational` select the intelligence datasets you can read, and `analytics` selects the analytics datasets you can read. A scope value covers at most 50 datasets. Without `datasetId`, the default Cloudforce One Threat Events dataset is used.", inputSchema: { type: "object", properties: { @@ -2800,347 +3783,788 @@ export const tools: readonly Tool[] = [ } ] }, - "maxItems": 10, - "minItems": 1, + "maxItems": 10, + "minItems": 1, + "type": "array" + }, + "maxItems": 8, + "minItems": 1, + "type": "array" + } + }, + "type": "object" + }, + "cache": { + "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit.", + "enum": [ + "from-graph" + ], + "type": "string" + }, + "force_refresh": { + "type": "boolean" + }, + "format": { + "description": "Output format for event data. 'json' returns the default format, 'stix2' returns STIX 2.1 Sighting SROs with linked Indicator SDOs, Observed Data SDOs, and SCOs, 'taxii' returns a TAXII 2.1 Envelope with Content-Type application/taxii+json;version=2.1.", + "enum": [ + "json", + "stix2", + "taxii" + ], + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "items": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "type": "array", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Search events" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "items": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { + "type": "string" + }, + "type": "array" + }, + "mitreCapec": { + "items": { + "type": "string" + }, + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { + "type": "string" + }, "type": "array" }, - "maxItems": 8, - "minItems": 1, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { + "type": "string" + }, + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { + "type": "string" + }, + "type": "array" + }, + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" + }, + "type": "array" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" } }, - "type": "object" - }, - "cache": { - "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit.", - "enum": [ - "from-graph" - ], - "type": "string" - }, - "force_refresh": { - "type": "boolean" - }, - "format": { - "description": "Output format for event data. 'json' returns the default format, 'stix2' returns STIX 2.1 Sighting SROs with linked Indicator SDOs, Observed Data SDOs, and SCOs, 'taxii' returns a TAXII 2.1 Envelope with Content-Type application/taxii+json;version=2.1.", - "enum": [ - "json", - "stix2", - "taxii" + "required": [ + "errors", + "result", + "success" ], - "type": "string" + "type": "object" } }, - required: [ - "account_id" - ], }, - outputSchema: { - "items": { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { - "type": "string" - }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { - "type": "string" - }, - "indicatorType": { - "type": "string" - }, - "indicatorTypeId": { - "type": "number" - }, - "insight": { - "type": "string" - }, - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events`, + query: [ + ["forceRefresh", args["force_refresh"], true], + ["format", args["format"], true], + ["cache", args["cache"], true], + ], + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_events_update", + title: "Update an event", + description: "Updates the given fields of an event and leaves the other fields unchanged. `datasetId` is required.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "attacker": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "attackerCountry": { "type": "string" }, - "type": "array" - }, - "mitreCapec": { - "items": { + "category": { "type": "string" }, - "type": "array" - }, - "numReferenced": { - "type": "number" - }, - "numReferences": { - "type": "number" - }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { + "createdAt": { + "format": "date-time", "type": "string" }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" + "datasetId": { + "description": "Dataset ID containing the event to update.", + "type": "string" + }, + "date": { + "format": "date-time", + "type": "string" + }, + "event": { + "type": "string" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "insight": { + "type": "string" + }, + "raw": { + "properties": { + "data": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "source": { + "type": "string" + }, + "tlp": { + "type": "string" + } + }, + "type": "object" }, - "type": "array" - }, - "references": { - "items": { + "targetCountry": { "type": "string" }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { + "targetIndustry": { "type": "string" }, - "type": "array" + "tlp": { + "type": "string" + } }, - "targetCountry": { + "required": [ + "datasetId" + ], + "type": "object" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "event_id" + ], + }, + outputSchema: { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { "type": "string" }, - "targetCountryAlpha3": { + "type": "array" + }, + "mitreCapec": { + "items": { "type": "string" }, - "targetIndustry": { + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { "type": "string" }, - "tlp": { + "type": "array" + }, + "referencedIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "references": { + "items": { "type": "string" }, - "uuid": { + "type": "array" + }, + "referencesIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { "type": "string" - } + }, + "type": "array" }, - "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "object" + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } }, - "type": "array", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Filter and list events" - }, - method: "POST", - path: "/accounts/{account_id}/cloudforce-one/events", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "items": { - "properties": { - "attacker": { - "type": "string" - }, - "attackerCountry": { - "type": "string" - }, - "attackerCountryAlpha3": { - "type": "string" - }, - "category": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "date": { - "type": "string" - }, - "event": { + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Update an event" + }, + method: "PATCH", + path: "/accounts/{account_id}/cloudforce-one/events/{event_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "attacker": { + "type": "string" + }, + "attackerCountry": { + "type": "string" + }, + "attackerCountryAlpha3": { + "type": "string" + }, + "category": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "date": { + "type": "string" + }, + "event": { + "type": "string" + }, + "hasChildren": { + "type": "boolean" + }, + "indicator": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "indicatorTypeId": { + "type": "number" + }, + "insight": { + "type": "string" + }, + "killChain": { + "type": "number" + }, + "mitreAttack": { + "items": { "type": "string" }, - "hasChildren": { - "type": "boolean" - }, - "indicator": { + "type": "array" + }, + "mitreCapec": { + "items": { "type": "string" }, - "indicatorType": { + "type": "array" + }, + "numReferenced": { + "type": "number" + }, + "numReferences": { + "type": "number" + }, + "rawId": { + "type": "string" + }, + "referenced": { + "items": { "type": "string" }, - "indicatorTypeId": { + "type": "array" + }, + "referencedIds": { + "items": { "type": "number" }, - "insight": { + "type": "array" + }, + "references": { + "items": { "type": "string" }, - "killChain": { - "type": "number" - }, - "mitreAttack": { - "items": { - "type": "string" - }, - "type": "array" - }, - "mitreCapec": { - "items": { - "type": "string" - }, - "type": "array" - }, - "numReferenced": { - "type": "number" - }, - "numReferences": { + "type": "array" + }, + "referencesIds": { + "items": { "type": "number" }, - "rawId": { - "type": "string" - }, - "referenced": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencedIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "references": { - "items": { - "type": "string" - }, - "type": "array" - }, - "referencesIds": { - "items": { - "type": "number" - }, - "type": "array" - }, - "releasabilityId": { - "type": "string" - }, - "tags": { - "items": { - "type": "string" - }, - "type": "array" - }, - "targetCountry": { - "type": "string" - }, - "targetCountryAlpha3": { - "type": "string" - }, - "targetIndustry": { - "type": "string" - }, - "tlp": { + "type": "array" + }, + "releasabilityId": { + "type": "string" + }, + "tags": { + "items": { "type": "string" }, - "uuid": { - "type": "string" - } + "type": "array" }, - "required": [ - "attacker", - "attackerCountry", - "attackerCountryAlpha3", - "category", - "datasetId", - "date", - "event", - "hasChildren", - "indicator", - "indicatorType", - "indicatorTypeId", - "killChain", - "mitreAttack", - "mitreCapec", - "numReferenced", - "numReferences", - "rawId", - "referenced", - "referencedIds", - "references", - "referencesIds", - "tags", - "targetCountry", - "targetCountryAlpha3", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "object" + "targetCountry": { + "type": "string" + }, + "targetCountryAlpha3": { + "type": "string" + }, + "targetIndustry": { + "type": "string" + }, + "tlp": { + "type": "string" + }, + "uuid": { + "type": "string" + } }, - "type": "array" + "required": [ + "attacker", + "attackerCountry", + "attackerCountryAlpha3", + "category", + "datasetId", + "date", + "event", + "hasChildren", + "indicator", + "indicatorType", + "indicatorTypeId", + "killChain", + "mitreAttack", + "mitreCapec", + "numReferenced", + "numReferences", + "rawId", + "referenced", + "referencedIds", + "references", + "referencesIds", + "tags", + "targetCountry", + "targetCountryAlpha3", + "targetIndustry", + "tlp", + "uuid" + ], + "type": "object" }, "400": { "properties": { @@ -3175,12 +4599,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events`, - query: [ - ["forceRefresh", args["force_refresh"], true], - ["format", args["format"], true], - ["cache", args["cache"], true], - ], + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/${pathParam(args, "event_id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts similarity index 92% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts index 87d697be..fa902367 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts @@ -1,20 +1,20 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; import { cloudforce_one_events_HydratedEntity_output, cloudforce_one_events_RelationshipEdge_output, -} from "../../../outputs.js"; +} from "../../outputs.js"; /** - * The tools of `cloudforce_one.events.dataset.indicators.relationships`. + * The tools of `cloudforce_one.threat_intel.indicators.relationships`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_indicators_relationships_create", - title: "Create a relationship for an indicator", - description: "Creates a new relationship with the indicator as the source entity. Indicator↔indicator relationships are not supported.", + name: "cloudforce_one_threat_intel_indicators_relationships_create", + title: "Create an indicator relationship", + description: "Creates a relationship from an indicator to an event or tag (`targetType`). Relationships between two indicators are not supported.", inputSchema: { type: "object", properties: { @@ -80,7 +80,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Create a relationship for an indicator" + "title": "Create an indicator relationship" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships", @@ -159,9 +159,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_indicators_relationships_delete", - title: "Delete a relationship", - description: "Deletes a relationship by UUID. Idempotent: returns deleted=false if not found.", + name: "cloudforce_one_threat_intel_indicators_relationships_delete", + title: "Delete an indicator relationship", + description: "Deletes an indicator relationship by its UUID. Returns `deleted: false` if the relationship doesn't exist.", inputSchema: { type: "object", properties: { @@ -204,7 +204,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": false, - "title": "Delete a relationship" + "title": "Delete an indicator relationship" }, method: "DELETE", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships/{rel_uuid}", @@ -260,9 +260,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_indicators_relationships_list", - title: "List relationships for an indicator", - description: "Returns sparse relationship edges. Optionally hydrate related entities via `expand`.", + name: "cloudforce_one_threat_intel_indicators_relationships_list", + title: "List indicator relationships", + description: "Lists the relationships that start at an indicator. Use `search` to filter them and `expand` to include the related entities in the response.", inputSchema: { type: "object", properties: { @@ -410,7 +410,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "List relationships for an indicator" + "title": "List indicator relationships" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships", @@ -505,9 +505,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_dataset_indicators_relationships_update", - title: "Update a relationship", - description: "Partially updates a relationship by UUID. Only provided fields are changed.", + name: "cloudforce_one_threat_intel_indicators_relationships_update", + title: "Update an indicator relationship", + description: "Updates the given fields of an indicator relationship and leaves the other fields unchanged.", inputSchema: { type: "object", properties: { @@ -576,7 +576,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Update a relationship" + "title": "Update an indicator relationship" }, method: "PATCH", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships/{rel_uuid}", diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts similarity index 88% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts index ffb8038b..bec9d70a 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/indicators/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.dataset.indicators.tags`. + * The tools of `cloudforce_one.threat_intel.indicators.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_indicators_tags_get", - title: "List mirrored tags for an indicator dataset", - description: "Returns all mirrored tags from the indicator dataset (DO mirror table). No pagination.", + name: "cloudforce_one_threat_intel_indicators_tags_list", + title: "List tags on a dataset's indicators", + description: "Lists the tags applied to indicators in a dataset. Results are not paginated.", inputSchema: { type: "object", properties: { @@ -39,7 +39,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "List mirrored tags for an indicator dataset" + "title": "List tags on a dataset's indicators" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/tags", diff --git a/src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts similarity index 56% rename from src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts index 177a1dc6..f266ba6a 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts @@ -4,13 +4,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.indicators`. + * The tools of `cloudforce_one.threat_intel.indicators`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_indicators_get", - title: "Lists indicators across multiple datasets", - description: "Retrieves indicators across specified datasets, ordered by createdAt descending then UUID, dataset ID, and shard ID ascending. Use one standalone datasetIds scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). If no datasetIds are provided, uses the default dataset.", + name: "cloudforce_one_threat_intel_indicators_bulk_create", + title: "Create indicators in bulk", + description: "Creates multiple indicators in a dataset in one request. Set `autoCreateType` to create any indicator types that don't exist.", inputSchema: { type: "object", properties: { @@ -18,230 +18,1112 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "cache": { - "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit. Cannot be combined with `cursor`.", - "enum": [ - "from-graph" - ], - "type": "string" - }, - "created_after": { - "description": "Filter indicators created on or after this date. Must use ISO 8601 format (e.g., '2024-01-15T00:00:00Z').", - "format": "date-time", - "type": "string" - }, - "created_before": { - "description": "Filter indicators created on or before this date. Must use ISO 8601 format (e.g., '2024-12-31T23:59:59Z').", - "format": "date-time", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor from a previous response's `pagination.cursor`. When provided, all filters, datasetIds, page, `pageSize`, `includeTags` and `relatedEventsLimit` come from the cursor — do not resend them. Sending any filter, `page`, `pageSize`, `includeTags`, `relatedEventsLimit`, `includeTotalCount=true`, or `cache=from-graph` alongside a cursor yields a 400 `CursorFilterConflictError`. A cursor issued for a different entity, an unsupported version, or a dataset that has since been reconfigured as analytics-only yields a 400 `InvalidCursorError`.", - "type": "string" - }, - "dataset_ids": { - "description": "Dataset UUIDs to query, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). If not provided, uses the default dataset.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Output format for indicator data. 'json' returns the default format, 'stix2' returns STIX 2.1 Indicator SDOs, 'taxii' returns a TAXII 2.1 Envelope with Content-Type application/taxii+json;version=2.1.", - "enum": [ - "json", - "stix2", - "taxii" - ], - "type": "string" - }, - "include_tags": { - "description": "Whether to include full tag details for each indicator. Defaults to true.", - "type": "boolean" - }, - "include_total_count": { - "description": "Whether to compute total count via COUNT(*). Defaults to false for performance. total_count is null unless this is true and the complete fan-out succeeds.", - "type": "boolean" - }, - "indicator_type": { - "type": "string" - }, - "name": { - "description": "Filter indicators by value using substring match (LIKE). Legacy alternative to structured search.", - "type": "string" - }, - "page": { - "type": "number" - }, - "page_size": { - "type": "number" - }, - "related_events": { - "description": "Filter by related event IDs", - "items": { - "type": "string" - }, - "type": "array" - }, - "related_events_limit": { - "description": "Limit the number of related events returned per indicator. Default: 2. Set to 0 for none, -1 for all events. For JSON responses, when the limit hides events, the indicator carries `relatedEventsHasMore: true` and the response includes an advisory message — the cap is never applied silently. STIX and TAXII representations do not include related-event data.", - "type": "number" - }, - "search": { - "description": "Structured search as a JSON array of {field, op, value} objects. Searchable fields: value, indicatorType, uuid. Supports operators: equals, not, contains, startsWith, endsWith, gt, lt, gte, lte, like, in, find. Use the 'in' operator with an array value to bulk-check up to 100 indicators in a single request, e.g. search=[{\"field\":\"value\",\"op\":\"in\",\"value\":[\"evil.com\",\"bad.org\"]}]. Multiple conditions are AND'd together. Max 10 conditions per request.", - "items": { - "properties": { - "field": { - "description": "The indicator field to search on. Allowed: value, indicatorType, uuid.", - "enum": [ - "value", - "indicatorType", - "uuid" - ], - "type": "string" - }, - "op": { - "description": "Search operator. Use 'in' for bulk lookup of up to 100 values at once, e.g. {field:'value', op:'in', value:['evil.com','bad.org']}.", - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "in", - "find" - ], - "type": "string" - }, - "value": { - "anyOf": [ - { + "body": { + "properties": { + "autoCreateType": { + "description": "Global flag to automatically create indicator types if they don't exist. Individual indicators can override this with their own autoCreateType flag.", + "type": "boolean" + }, + "indicators": { + "items": { + "properties": { + "autoCreateType": { + "description": "If true, automatically create the indicator type if it doesn't exist. If false (default), throw an error when the indicator type doesn't exist.", + "type": "boolean" + }, + "indicatorType": { "type": "string" }, - { + "relatedEvents": { "items": { - "type": "string" + "properties": { + "datasetId": { + "type": "string" + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" }, "type": "array" - } - ], - "description": "Search value. String for most operators. Array of strings for 'in' operator (max 100 items)." - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - "type": "array" - }, - "tag_search": { - "description": "Structured tag-metadata filter as a JSON array of {field, op, value} objects. Operates against the per-dataset IndicatorTag mirror so you can find indicators by tag attributes (origin country, motive, sophistication, priority, etc.) without a separate Tags lookup. Common dashboard usage: drill from a country into indicators, e.g. tagSearch=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. \"iran\"). Operators: equals, not, gt/gte/lt/lte (numeric only), contains/like/find/startsWith/endsWith (string only), in. AND-joined across entries; combined with `tags`, a matching tag must satisfy both. Max 10 entries per request, max 100 values per 'in'. Performance notes: `originCountryISO` uses its B-tree index for equals/not/in. `priority` uses its B-tree index for numeric comparisons. Other string columns (`actorCategory`, `motive`, etc.) are case-insensitive and unindexed; current catalog size makes this a non-issue. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on the JSON-encoded text, so substrings can cross alias boundaries (\"apt28\" also matches \"apt280\" when both appear in the same tag's alias list).", - "items": { - "properties": { - "field": { - "description": "Tag mirror field to filter on. Allowed: value, categoryId, actorCategory, aliasGroupNames, attributionConfidence, attributionOrganization, motive, opsecLevel, originCountryISO, sophisticationLevel, priority, analyticPriority. Filters operate against the per-dataset IndicatorTag mirror (which is kept in sync with the Tags SoT by the tag-propagation workflow).", - "enum": [ - "value", - "categoryId", - "actorCategory", - "aliasGroupNames", - "attributionConfidence", - "attributionOrganization", - "motive", - "opsecLevel", - "originCountryISO", - "sophisticationLevel", - "priority", - "analyticPriority" - ], - "type": "string" - }, - "op": { - "description": "Search operator. Use 'in' for bulk OR within a single field, e.g. {field:\"originCountryISO\", op:\"in\", value:[\"IR\",\"CN\"]}.", - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "in", - "find" - ], - "type": "string" - }, - "value": { - "anyOf": [ - { - "type": "string" }, - { - "type": "number" - }, - { + "tags": { "items": { "anyOf": [ { "type": "string" }, { - "type": "number" + "properties": { + "categoryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" } ] }, "type": "array" + }, + "tlp": { + "description": "Traffic Light Protocol designation. Case-insensitive on input, stored and returned as UPPERCASE. Allowed values: clear, green, amber, amber-strict, red, purple.", + "type": "string" + }, + "value": { + "type": "string" } + }, + "required": [ + "indicatorType", + "value" ], - "description": "Search value. String or number for most operators. Array for 'in' (max 100 items). Country values may be passed as alpha-2, alpha-3, name, or common alias (e.g. \"iran\", \"IR\", \"IRN\") and are normalized to alpha-2 server-side." - } - }, - "required": [ - "field", - "op" - ], - "type": "object" + "type": "object" + }, + "type": "array" + } }, - "type": "array" + "required": [ + "indicators" + ], + "type": "object" }, - "tags": { - "description": "Filter by tag values or UUIDs. Indicators must have at least one of the specified tags (OR logic). Supports both tag UUID and tag value.", - "items": { - "type": "string" - }, - "type": "array" + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" } }, required: [ - "account_id" + "account_id", + "dataset_id" ], }, outputSchema: { - "properties": { - "properties": { + "type": "number", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create indicators in bulk" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/bulk", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "type": "number" + }, + "400": { "properties": { - "completeness": { - "properties": { + "errors": { + "items": { "properties": { - "properties": { - "complete": { - "properties": { - "type": { - "type": "string" - } - }, - "required": [ + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/bulk`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_indicators_create", + title: "Create an indicator", + description: "Creates an indicator in a dataset. Set `autoCreateType` to create the indicator type if it doesn't exist.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "autoCreateType": { + "description": "If true, automatically create the indicator type if it doesn't exist. If false (default), throw an error when the indicator type doesn't exist.", + "type": "boolean" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "tags": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "categoryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "tlp": { + "description": "Traffic Light Protocol designation. Case-insensitive on input, stored and returned as UPPERCASE. Allowed values: clear, green, amber, amber-strict, red, purple.", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "indicatorType", + "value" + ], + "type": "object" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id" + ], + }, + outputSchema: { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create an indicator" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/create", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/create`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_indicators_delete", + title: "Delete an indicator", + description: "Deletes an indicator by its UUID.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id", + "indicator_id" + ], + }, + outputSchema: { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object", + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete an indicator" + }, + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "message": { + "type": "string" + }, + "success": { + "type": "boolean" + } + }, + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_indicators_get", + title: "Get an indicator", + description: "Returns an indicator by its UUID.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id", + "indicator_id" + ], + }, + outputSchema: { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get an indicator" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_indicators_list", + title: "List indicators", + description: "Lists indicators across datasets, newest first. `datasetIds` accepts dataset UUIDs or one scope value used alone: `all` (or `*`) and `operational` select the intelligence datasets you can read, and `analytics` selects the analytics datasets you can read. Without `datasetIds`, the default dataset is used.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "cache": { + "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit. Cannot be combined with `cursor`.", + "enum": [ + "from-graph" + ], + "type": "string" + }, + "created_after": { + "description": "Filter indicators created on or after this date. Must use ISO 8601 format (e.g., '2024-01-15T00:00:00Z').", + "format": "date-time", + "type": "string" + }, + "created_before": { + "description": "Filter indicators created on or before this date. Must use ISO 8601 format (e.g., '2024-12-31T23:59:59Z').", + "format": "date-time", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor from a previous response's `pagination.cursor`. When provided, all filters, datasetIds, page, `pageSize`, `includeTags` and `relatedEventsLimit` come from the cursor — do not resend them. Sending any filter, `page`, `pageSize`, `includeTags`, `relatedEventsLimit`, `includeTotalCount=true`, or `cache=from-graph` alongside a cursor yields a 400 `CursorFilterConflictError`. A cursor issued for a different entity, an unsupported version, or a dataset that has since been reconfigured as analytics-only yields a 400 `InvalidCursorError`.", + "type": "string" + }, + "dataset_ids": { + "description": "Dataset UUIDs to query, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). If not provided, uses the default dataset.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Output format for indicator data. 'json' returns the default format, 'stix2' returns STIX 2.1 Indicator SDOs, 'taxii' returns a TAXII 2.1 Envelope with Content-Type application/taxii+json;version=2.1.", + "enum": [ + "json", + "stix2", + "taxii" + ], + "type": "string" + }, + "include_tags": { + "description": "Whether to include full tag details for each indicator. Defaults to true.", + "type": "boolean" + }, + "include_total_count": { + "description": "Whether to compute total count via COUNT(*). Defaults to false for performance. total_count is null unless this is true and the complete fan-out succeeds.", + "type": "boolean" + }, + "indicator_type": { + "type": "string" + }, + "name": { + "description": "Filter indicators by value using substring match (LIKE). Legacy alternative to structured search.", + "type": "string" + }, + "page": { + "type": "number" + }, + "page_size": { + "type": "number" + }, + "related_events": { + "description": "Filter by related event IDs", + "items": { + "type": "string" + }, + "type": "array" + }, + "related_events_limit": { + "description": "Limit the number of related events returned per indicator. Default: 2. Set to 0 for none, -1 for all events. For JSON responses, when the limit hides events, the indicator carries `relatedEventsHasMore: true` and the response includes an advisory message — the cap is never applied silently. STIX and TAXII representations do not include related-event data.", + "type": "number" + }, + "search": { + "description": "Structured search as a JSON array of {field, op, value} objects. Searchable fields: value, indicatorType, uuid. Supports operators: equals, not, contains, startsWith, endsWith, gt, lt, gte, lte, like, in, find. Use the 'in' operator with an array value to bulk-check up to 100 indicators in a single request, e.g. search=[{\"field\":\"value\",\"op\":\"in\",\"value\":[\"evil.com\",\"bad.org\"]}]. Multiple conditions are AND'd together. Max 10 conditions per request.", + "items": { + "properties": { + "field": { + "description": "The indicator field to search on. Allowed: value, indicatorType, uuid.", + "enum": [ + "value", + "indicatorType", + "uuid" + ], + "type": "string" + }, + "op": { + "description": "Search operator. Use 'in' for bulk lookup of up to 100 values at once, e.g. {field:'value', op:'in', value:['evil.com','bad.org']}.", + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "in", + "find" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ], + "description": "Search value. String for most operators. Array of strings for 'in' operator (max 100 items)." + } + }, + "required": [ + "field", + "op", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "tag_search": { + "description": "Structured tag-metadata filter as a JSON array of {field, op, value} objects. Operates against the per-dataset IndicatorTag mirror so you can find indicators by tag attributes (origin country, motive, sophistication, priority, etc.) without a separate Tags lookup. Common dashboard usage: drill from a country into indicators, e.g. tagSearch=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. \"iran\"). Operators: equals, not, gt/gte/lt/lte (numeric only), contains/like/find/startsWith/endsWith (string only), in. AND-joined across entries; combined with `tags`, a matching tag must satisfy both. Max 10 entries per request, max 100 values per 'in'. Performance notes: `originCountryISO` uses its B-tree index for equals/not/in. `priority` uses its B-tree index for numeric comparisons. Other string columns (`actorCategory`, `motive`, etc.) are case-insensitive and unindexed; current catalog size makes this a non-issue. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on the JSON-encoded text, so substrings can cross alias boundaries (\"apt28\" also matches \"apt280\" when both appear in the same tag's alias list).", + "items": { + "properties": { + "field": { + "description": "Tag mirror field to filter on. Allowed: value, categoryId, actorCategory, aliasGroupNames, attributionConfidence, attributionOrganization, motive, opsecLevel, originCountryISO, sophisticationLevel, priority, analyticPriority. Filters operate against the per-dataset IndicatorTag mirror (which is kept in sync with the Tags SoT by the tag-propagation workflow).", + "enum": [ + "value", + "categoryId", + "actorCategory", + "aliasGroupNames", + "attributionConfidence", + "attributionOrganization", + "motive", + "opsecLevel", + "originCountryISO", + "sophisticationLevel", + "priority", + "analyticPriority" + ], + "type": "string" + }, + "op": { + "description": "Search operator. Use 'in' for bulk OR within a single field, e.g. {field:\"originCountryISO\", op:\"in\", value:[\"IR\",\"CN\"]}.", + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "in", + "find" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "array" + } + ], + "description": "Search value. String or number for most operators. Array for 'in' (max 100 items). Country values may be passed as alpha-2, alpha-3, name, or common alias (e.g. \"iran\", \"IR\", \"IRN\") and are normalized to alpha-2 server-side." + } + }, + "required": [ + "field", + "op" + ], + "type": "object" + }, + "type": "array" + }, + "tags": { + "description": "Filter by tag values or UUIDs. Indicators must have at least one of the specified tags (OR logic). Supports both tag UUID and tag value.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "properties": { + "properties": { + "completeness": { + "properties": { + "properties": { + "properties": { + "complete": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ "type" ], "type": "object" @@ -669,7 +1551,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists indicators across multiple datasets" + "title": "List indicators" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/indicators", @@ -932,34 +1814,161 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "tlp": { - "oneOf": [ - { + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "sources", + "updatedAt", + "uuid", + "value" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "pagination": { + "properties": { + "properties": { + "properties": { + "count": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cursor": { + "properties": { + "description": { + "type": "string" + }, + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "nullable", + "type" + ], + "type": "object" + }, + "has_more": { + "properties": { + "description": { + "type": "string" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "type" + ], + "type": "object" + }, + "page": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "per_page": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "total_count": { + "properties": { + "description": { + "type": "string" + }, + "nullable": { + "type": "boolean" + }, + "type": { + "type": "string" + } + }, + "required": [ + "description", + "nullable", + "type" + ], + "type": "object" + }, + "total_count_is_exact": { + "properties": { + "description": { "type": "string" }, - { - "type": "null" + "type": { + "type": "string" } - ] - }, - "updatedAt": { - "format": "date-time", - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" + }, + "required": [ + "description", + "type" + ], + "type": "object" } }, "required": [ - "createdAt", - "indicatorType", - "sources", - "updatedAt", - "uuid", - "value" + "count", + "cursor", + "has_more", + "page", + "per_page", + "total_count", + "total_count_is_exact" ], "type": "object" }, @@ -967,154 +1976,381 @@ export const tools: readonly Tool[] = [ "type": "string" } }, - "required": [ - "items", - "type" - ], - "type": "object" + "required": [ + "properties", + "type" + ], + "type": "object" + } + }, + "required": [ + "completeness", + "indicators", + "pagination" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "properties", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicators`, + query: [ + ["datasetIds", args["dataset_ids"], true], + ["page", args["page"], true], + ["pageSize", args["page_size"], true], + ["search", args["search"], true], + ["name", args["name"], true], + ["indicatorType", args["indicator_type"], true], + ["relatedEvents", args["related_events"], true], + ["tags", args["tags"], true], + ["tagSearch", args["tag_search"], true], + ["createdAfter", args["created_after"], true], + ["createdBefore", args["created_before"], true], + ["relatedEventsLimit", args["related_events_limit"], true], + ["includeTags", args["include_tags"], true], + ["includeTotalCount", args["include_total_count"], true], + ["format", args["format"], true], + ["cache", args["cache"], true], + ["cursor", args["cursor"], true], + ], + }), + }, + { + name: "cloudforce_one_threat_intel_indicators_update", + title: "Update an indicator", + description: "Updates the given fields of an indicator and leaves the other fields unchanged.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "tags": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "categoryName": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "tlp": { + "description": "Traffic Light Protocol designation. Case-insensitive on input, stored and returned as UPPERCASE. Allowed values: clear, green, amber, amber-strict, red, purple.", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "dataset_id", + "indicator_id" + ], + }, + outputSchema: { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } + }, + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" + }, + "type": "array" + }, + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Update an indicator" + }, + method: "PATCH", + path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "createdAt": { + "format": "date-time", + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "indicatorType": { + "type": "string" + }, + "relatedEvents": { + "items": { + "properties": { + "datasetId": { + "type": "string" + }, + "eventDate": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "eventId": { + "type": "string" + } }, - "pagination": { - "properties": { - "properties": { - "properties": { - "count": { - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cursor": { - "properties": { - "description": { - "type": "string" - }, - "nullable": { - "type": "boolean" - }, - "type": { - "type": "string" - } - }, - "required": [ - "description", - "nullable", - "type" - ], - "type": "object" - }, - "has_more": { - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "description", - "type" - ], - "type": "object" - }, - "page": { - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "per_page": { - "properties": { - "type": { - "type": "string" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "total_count": { - "properties": { - "description": { - "type": "string" - }, - "nullable": { - "type": "boolean" - }, - "type": { - "type": "string" - } - }, - "required": [ - "description", - "nullable", - "type" - ], - "type": "object" - }, - "total_count_is_exact": { - "properties": { - "description": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "description", - "type" - ], - "type": "object" - } + "required": [ + "datasetId", + "eventId" + ], + "type": "object" + }, + "type": "array" + }, + "relatedEventsHasMore": { + "type": "boolean" + }, + "tags": { + "items": { + "properties": { + "categoryId": { + "oneOf": [ + { + "type": "string" }, - "required": [ - "count", - "cursor", - "has_more", - "page", - "per_page", - "total_count", - "total_count_is_exact" - ], - "type": "object" - }, - "type": { - "type": "string" - } + { + "type": "null" + } + ] }, - "required": [ - "properties", - "type" - ], - "type": "object" - } + "categoryName": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "type": "object" }, - "required": [ - "completeness", - "indicators", - "pagination" - ], - "type": "object" + "type": "array" }, - "type": { + "tlp": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "format": "date-time", + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { "type": "string" } }, "required": [ - "properties", - "type" + "createdAt", + "indicatorType", + "updatedAt", + "uuid", + "value" ], "type": "object" }, @@ -1147,30 +2383,72 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "409": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" } }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicators`, - query: [ - ["datasetIds", args["dataset_ids"], true], - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["search", args["search"], true], - ["name", args["name"], true], - ["indicatorType", args["indicator_type"], true], - ["relatedEvents", args["related_events"], true], - ["tags", args["tags"], true], - ["tagSearch", args["tag_search"], true], - ["createdAfter", args["created_after"], true], - ["createdBefore", args["created_before"], true], - ["relatedEventsLimit", args["related_events_limit"], true], - ["includeTags", args["include_tags"], true], - ["includeTotalCount", args["include_total_count"], true], - ["format", args["format"], true], - ["cache", args["cache"], true], - ["cursor", args["cursor"], true], - ], + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}`, + body: { value: args["body"], mediaType: "application/json" }, }), }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts similarity index 61% rename from src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts index 4a949f9e..a2ab658a 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatEvents/indicatorTypes/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_events.indicator_types`. + * The tools of `cloudforce_one.threat_intel.indicators.types`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_events_indicator_types_create", - title: "Create a new indicator type", - description: "Creates a new indicator type and initializes its dedicated Durable Object", + name: "cloudforce_one_threat_intel_indicators_types_create", + title: "Create an indicator type", + description: "Creates an indicator type in a dataset.", inputSchema: { type: "object", properties: { @@ -68,7 +68,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Create a new indicator type" + "title": "Create an indicator type" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicatorTypes/create", @@ -222,4 +222,129 @@ export const tools: readonly Tool[] = [ body: { value: args["body"], mediaType: "application/json" }, }), }, + { + name: "cloudforce_one_threat_intel_indicators_types_list", + title: "List indicator types", + description: "Lists the indicator types used in the datasets given by `datasetIds`, which accepts dataset UUIDs or one scope value used alone. Without `datasetIds`, every dataset you can read is included, analytics datasets too.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_ids": { + "description": "Dataset UUIDs to query, or one standalone scope value: 'operational' for readable intelligence datasets (isAnalytics=false), 'analytics' for readable analytics datasets (isAnalytics=true), or 'all'/'*' for every readable dataset including analytics datasets. If not provided, queries all accessible datasets, including analytics datasets.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List indicator types" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/indicator-types", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "items": { + "properties": { + "type": { + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "type": "string" + } + }, + "required": [ + "items", + "type" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicator-types`, + query: [ + ["datasetIds", args["dataset_ids"], true], + ], + }), + }, ]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts new file mode 100644 index 00000000..1a97ef48 --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts @@ -0,0 +1,78 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../_/tool.js"; + +/** + * The schema of `cloudforce-one-events_HydratedEntity` in responses. + */ +export const cloudforce_one_events_HydratedEntity_output: JsonSchema = { + "type": "object" +}; + +/** + * The schema of `cloudforce-one-events_RelationshipEdge` in responses. + */ +export const cloudforce_one_events_RelationshipEdge_output: JsonSchema = { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "datasetId": { + "type": "string" + }, + "entityId": { + "type": "string" + }, + "entityType": { + "enum": [ + "event", + "indicator", + "tag" + ], + "type": "string" + }, + "metadata": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "relationshipUuid": { + "format": "uuid", + "type": "string" + }, + "type": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + }, + "required": [ + "confidence", + "createdAt", + "datasetId", + "entityId", + "entityType", + "metadata", + "relationshipUuid", + "type", + "updatedAt" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts similarity index 97% rename from src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts index 8a55769e..a6de6488 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/actors/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.tags.categories.actors`. + * The tools of `cloudforce_one.threat_intel.tags.actors`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_tags_categories_actors_list", - title: "Lists all Actors", - description: "Returns all known Actors from the shared CFONE-owned catalog. Accounts other than the catalog owner receive a redacted public projection: identity (`uuid`, `value`, `categoryUuid`, `categoryName`), metadata (`description`, `dateOfDiscovery`, `tlp`, `confidence`, `properties`), origin (`originCountryISO`, `originCountryISO_annotated`), and public aliases/references (`aliasGroupNames`, `aliases`, `externalReferences`, `externalReferences_annotated`). Owner-private fields (internal aliases, attribution, motive, opsec level, etc.) are stripped from non-owner responses.", + name: "cloudforce_one_threat_intel_tags_actors_list", + title: "List threat actors", + description: "Lists threat actors from the Cloudforce One actor catalog. Use `value` to match actor names and `filters` to filter by fields such as origin country. Accounts outside Cloudforce One receive only public fields: identity, description, discovery date, TLP, confidence, custom properties, origin country, public aliases, and external references. Fields such as internal aliases, attribution, motive, and OPSEC level are omitted.", inputSchema: { type: "object", properties: { @@ -670,7 +670,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Lists all Actors" + "title": "List threat actors" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/tags/categories/actors", diff --git a/src/generated/forge-mcp/cloudforceOne/events/outputs.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts similarity index 63% rename from src/generated/forge-mcp/cloudforceOne/events/outputs.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts index 47e75449..30e69094 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { JsonSchema } from "../../_/tool.js"; +import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `cloudforce-one-events_FieldDefinition` in responses. @@ -127,77 +127,3 @@ export const cloudforce_one_events_FieldDefinition_numberConstraint_output: Json }, "type": "object" }; - -/** - * The schema of `cloudforce-one-events_HydratedEntity` in responses. - */ -export const cloudforce_one_events_HydratedEntity_output: JsonSchema = { - "type": "object" -}; - -/** - * The schema of `cloudforce-one-events_RelationshipEdge` in responses. - */ -export const cloudforce_one_events_RelationshipEdge_output: JsonSchema = { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "datasetId": { - "type": "string" - }, - "entityId": { - "type": "string" - }, - "entityType": { - "enum": [ - "event", - "indicator", - "tag" - ], - "type": "string" - }, - "metadata": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "relationshipUuid": { - "format": "uuid", - "type": "string" - }, - "type": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "confidence", - "createdAt", - "datasetId", - "entityId", - "entityType", - "metadata", - "relationshipUuid", - "type", - "updatedAt" - ], - "type": "object" -}; diff --git a/src/generated/forge-mcp/cloudforceOne/events/schemas.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts similarity index 98% rename from src/generated/forge-mcp/cloudforceOne/events/schemas.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts index 04eefcf3..6fa7786b 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { JsonSchema } from "../../_/tool.js"; +import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `cloudforce-one-events_FieldDefinition`. diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts similarity index 72% rename from src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts index 3162d645..5a4e43bf 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts @@ -6,21 +6,21 @@ import { cloudforce_one_events_FieldDefinition_annotations_output, cloudforce_one_events_FieldDefinition_numberConstraint_output, cloudforce_one_events_FieldDefinition_output, -} from "../../outputs.js"; +} from "./outputs.js"; import { cloudforce_one_events_FieldDefinition, cloudforce_one_events_FieldDefinition_annotations, cloudforce_one_events_FieldDefinition_numberConstraint, -} from "../../schemas.js"; +} from "./schemas.js"; /** - * The tools of `cloudforce_one.events.tags.categories`. + * The tools of `cloudforce_one.threat_intel.tags.categories`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_tags_categories_delete", - title: "Deletes a tag category (SoT)", - description: "Deletes a Source-of-Truth tag category by UUID.", + name: "cloudforce_one_threat_intel_tags_categories_create", + title: "Create a tag category", + description: "Creates a tag category. Use `schema` to define the custom fields its tags can have.", inputSchema: { type: "object", properties: { @@ -28,50 +28,129 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "category_uuid": { - "description": "Tag Category UUID.", - "type": "string" + "body": { + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "description": "Optional array of FieldDefinition objects defining custom fields for tags in this category. Persisted as JSON; returned as a parsed array.", + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + } + }, + "required": [ + "name" + ], + "type": "object" } }, required: [ - "account_id", - "category_uuid" + "account_id" ], + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint, + }, }, outputSchema: { "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ + "name", "uuid" ], "type": "object", + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, }, annotations: { - "destructiveHint": true, - "idempotentHint": true, + "destructiveHint": false, + "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Deletes a tag category (SoT)" + "title": "Create a tag category" }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/tags/categories/create", extensions: { "x-api-token-group": [ - "Cloudforce One Write" + "Cloudforce One Write", + "Cloudforce One Read" ] }, responses: { schemas: { "200": { "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, "uuid": { "type": "string" } }, "required": [ + "name", "uuid" ], "type": "object" @@ -106,7 +185,7 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "404": { + "409": { "properties": { "errors": { "items": { @@ -137,15 +216,21 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tag-categories/${pathParam(args, "category_uuid")}`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories/create`, + body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_events_tags_categories_get", - title: "Lists all tag categories (SoT)", - description: "Returns all Source-of-Truth tag categories for an account.", + name: "cloudforce_one_threat_intel_tags_categories_delete", + title: "Delete a tag category", + description: "Deletes a tag category by its UUID.", inputSchema: { type: "object", properties: { @@ -153,133 +238,85 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "search": { + "category_uuid": { + "description": "Tag Category UUID.", "type": "string" } }, required: [ - "account_id" + "account_id", + "category_uuid" ], }, outputSchema: { "properties": { - "categories": { - "items": { - "properties": { - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "schema": { - "oneOf": [ - { - "items": { - "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" - }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - } - }, - "required": [ - "name", - "uuid" - ], - "type": "object" - }, - "type": "array" + "uuid": { + "type": "string" } }, "required": [ - "categories" + "uuid" ], "type": "object", - $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, - "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, - "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, - }, }, annotations: { - "destructiveHint": false, + "destructiveHint": true, "idempotentHint": true, "openWorldHint": true, - "readOnlyHint": true, - "title": "Lists all tag categories (SoT)" + "readOnlyHint": false, + "title": "Delete a tag category" }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/tags/categories", + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", extensions: { "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" + "Cloudforce One Write" ] }, responses: { schemas: { "200": { "properties": { - "categories": { + "uuid": { + "type": "string" + } + }, + "required": [ + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { "items": { "properties": { - "createdAt": { - "type": "string" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "schema": { - "oneOf": [ - { - "items": { - "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" - }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { + "message": { "type": "string" } }, "required": [ - "name", - "uuid" + "message" ], "type": "object" }, "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" } }, "required": [ - "categories" + "errors", + "result", + "success" ], "type": "object" }, - "400": { + "404": { "properties": { "errors": { "items": { @@ -310,23 +347,15 @@ export const tools: readonly Tool[] = [ "type": "object" } }, - $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, - "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, - "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, - }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories`, - query: [ - ["search", args["search"], true], - ], + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tag-categories/${pathParam(args, "category_uuid")}`, }), }, { - name: "cloudforce_one_events_tags_categories_get_by_id", - title: "Gets a tag category by UUID (SoT)", - description: "Returns a single Source-of-Truth tag category by UUID, including its full schema.", + name: "cloudforce_one_threat_intel_tags_categories_get", + title: "Get a tag category", + description: "Returns a tag category by its UUID, including the custom fields defined in its `schema`.", inputSchema: { type: "object", properties: { @@ -391,7 +420,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Gets a tag category by UUID (SoT)" + "title": "Get a tag category" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", @@ -482,9 +511,190 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_tags_categories_patch", - title: "Updates a tag category (SoT)", - description: "Updates a Source-of-Truth tag category by UUID.", + name: "cloudforce_one_threat_intel_tags_categories_list", + title: "List tag categories", + description: "Lists the account's tag categories. Use `search` to filter them.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "search": { + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "categories": { + "items": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "categories" + ], + "type": "object", + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List tag categories" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/tags/categories", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "categories": { + "items": { + "properties": { + "createdAt": { + "type": "string" + }, + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "schema": { + "oneOf": [ + { + "items": { + "$ref": "#/$defs/cloudforce-one-events_FieldDefinition" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + } + }, + "required": [ + "name", + "uuid" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "categories" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + $defs: { + "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition_annotations": cloudforce_one_events_FieldDefinition_annotations_output, + "cloudforce-one-events_FieldDefinition_numberConstraint": cloudforce_one_events_FieldDefinition_numberConstraint_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories`, + query: [ + ["search", args["search"], true], + ], + }), + }, + { + name: "cloudforce_one_threat_intel_tags_categories_update", + title: "Update a tag category", + description: "Updates the given fields of a tag category and leaves the other fields unchanged.", inputSchema: { type: "object", properties: { @@ -572,7 +782,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Updates a tag category (SoT)" + "title": "Update a tag category" }, method: "PATCH", path: "/accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", diff --git a/src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts similarity index 95% rename from src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts index fd79a9d8..757fa08e 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/dataset/tags/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts @@ -1,16 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.dataset.tags.indicators`. + * The tools of `cloudforce_one.threat_intel.tags.indicators`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_dataset_tags_indicators_get", - title: "List indicators related to a tag", - description: "Returns indicators associated with the provided tag UUID, with pagination. By default fans out across every intelligence (isAnalytics=false) indicator dataset the account can read; pass datasetIds to scope to dataset UUIDs or a scope value. Analytics datasets do not expose tag associations, so the analytics scope returns an empty result.", + name: "cloudforce_one_threat_intel_tags_indicators_list", + title: "List a tag's indicators", + description: "Lists the indicators that carry a tag, with pagination. By default, every intelligence dataset you can read is searched; use `datasetIds` to limit the search to specific datasets or a scope value. Analytics datasets don't store tag associations, so the `analytics` scope returns no results.", inputSchema: { type: "object", properties: { @@ -246,7 +246,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "List indicators related to a tag" + "title": "List a tag's indicators" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/indicators", diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts similarity index 92% rename from src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts index 19f6240b..444648ba 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts @@ -8,13 +8,13 @@ import { } from "../../outputs.js"; /** - * The tools of `cloudforce_one.events.tags.relationships`. + * The tools of `cloudforce_one.threat_intel.tags.relationships`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_tags_relationships_create", - title: "Create a relationship for a tag", - description: "Creates a new relationship with the tag as the source entity. Requires a datasetId to locate the Indicators DO.", + name: "cloudforce_one_threat_intel_tags_relationships_create", + title: "Create a tag relationship", + description: "Creates a relationship from a tag to an event or indicator (`targetType`) in the dataset given by `datasetId`. Relationships between two tags are not supported.", inputSchema: { type: "object", properties: { @@ -79,7 +79,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Create a relationship for a tag" + "title": "Create a tag relationship" }, method: "POST", path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/relationships", @@ -132,9 +132,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_tags_relationships_delete", + name: "cloudforce_one_threat_intel_tags_relationships_delete", title: "Delete a tag relationship", - description: "Deletes a relationship by UUID. Idempotent: returns deleted=false if not found. Requires datasetId query param.", + description: "Deletes a tag relationship by its UUID. `datasetId` is required. Returns `deleted: false` if the relationship doesn't exist.", inputSchema: { type: "object", properties: { @@ -235,9 +235,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_tags_relationships_list", - title: "List relationships for a tag", - description: "Returns sparse relationship edges. Optionally hydrate related entities via `expand`. Fans out across accessible intelligence (isAnalytics=false) indicator dataset shards; `all` and `operational` are equivalent. Analytics datasets do not expose tag associations, so the analytics scope returns an empty result.", + name: "cloudforce_one_threat_intel_tags_relationships_list", + title: "List tag relationships", + description: "Lists the relationships that start at a tag, across the intelligence datasets you can read. Use `datasets` to limit the datasets (`all` and `operational` are equivalent here) and `expand` to include the related entities. Analytics datasets don't store tag associations, so the `analytics` scope returns no results.", inputSchema: { type: "object", properties: { @@ -392,7 +392,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "List relationships for a tag" + "title": "List tag relationships" }, method: "GET", path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/relationships", @@ -494,9 +494,9 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_events_tags_relationships_update", + name: "cloudforce_one_threat_intel_tags_relationships_update", title: "Update a tag relationship", - description: "Partially updates a relationship by UUID. Requires datasetId query param.", + description: "Updates the given fields of a tag relationship and leaves the other fields unchanged. `datasetId` is required.", inputSchema: { type: "object", properties: { diff --git a/src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts similarity index 72% rename from src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts rename to src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts index 53e5cf8e..05241c9b 100644 --- a/src/generated/forge-mcp/cloudforceOne/events/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts @@ -4,13 +4,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.events.tags`. + * The tools of `cloudforce_one.threat_intel.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_events_tags_delete", - title: "Deletes a tag (SoT)", - description: "Deletes a Source-of-Truth tag by UUID.", + name: "cloudforce_one_threat_intel_tags_create", + title: "Create a tag", + description: "Creates a tag in the account and returns the complete tag.", inputSchema: { type: "object", properties: { @@ -18,287 +18,226 @@ export const tools: readonly Tool[] = [ "description": "Account ID.", "type": "string" }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "tag_uuid" - ], - }, - outputSchema: { - "properties": { - "uuid": { - "type": "string" - } - }, - "required": [ - "uuid" - ], - "type": "object", - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Deletes a tag (SoT)" - }, - method: "DELETE", - path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "uuid": { - "type": "string" - } - }, - "required": [ - "uuid" - ], - "type": "object" - }, - "400": { + "body": { "properties": { - "errors": { + "activeDuration": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "actorCategory": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "description": "Structured aliases ({ value, confidence 1-10, tlp }). Public: returned to all accounts with per-entry TLP filtering (entries with tlp: purple are removed for non-CFONE accounts).", "items": { "properties": { - "message": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { "type": "string" } }, "required": [ - "message" + "value" ], "type": "object" }, "type": "array" }, - "result": { - "type": "object" + "attributionOrganization": { + "anyOf": [ + { + "type": "string" + }, + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + ] }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - }, - "404": { - "properties": { - "errors": { + "categoryUuid": { + "description": "Tag type (category) UUID. Optional — when present, `properties` is validated against this category's schema. When absent, the tag is typeless and properties are accepted free-form.", + "type": "string" + }, + "confidence": { + "description": "Overall tag confidence (1-10). Optional.", + "type": "integer" + }, + "dateOfDiscovery": { + "description": "Date of discovery (ISO YYYY-MM-DD). Optional.", + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "description": "Structured external references ({ url, description }). Public: returned to all accounts.", "items": { "properties": { - "message": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { "type": "string" } }, "required": [ - "message" + "url" ], "type": "object" }, "type": "array" }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, - }), - }, - { - name: "cloudforce_one_events_tags_get", - title: "Lists all tags (SoT)", - description: "Returns all Source-of-Truth tags for an account. Supports legacy free-text `search` on tag value and `categoryUuid` exact match, plus a structured `filters` JSON array for filtering by metadata fields (originCountryISO, actorCategory, motive, priority, etc.). The authenticated account owns these account-scoped tags and receives their complete owner projection. Country values may be passed as alpha-2, alpha-3, name, or common alias. Purple TLP remains CFONE-only.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "cache": { - "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit.", - "enum": [ - "from-graph" - ], - "type": "string" - }, - "category_uuid": { - "type": "string" - }, - "filters": { - "description": "Structured filters as a JSON array of {field, op, value} objects. Searchable fields: uuid, value, categoryName, description, dateOfDiscovery, tlp, confidence, actorCategory, motive, attributionOrganization, originCountryISO, aliases, externalReferences, opsecLevel, sophisticationLevel, activeDuration, priority, lastSeen, aliasGroupNames. Operators: equals, not, contains, startsWith, endsWith, gt, lt, gte, lte, like, in, find. Use 'in' for bulk OR within a single field, e.g. filters=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Multiple entries are AND-joined. Max 10 entries per request, max 100 values per 'in'. Per-field notes: `uuid` accepts only 'equals' and 'in' (other operators throw ValidationError) — matched against the canonical lowercase storage but callers may pass either case (the server lowercases before comparison); index-backed by the column's UNIQUE constraint and intended for batched UUID → tag resolution. `originCountryISO` uses its B-tree index for equals/not/in. `priority` uses its B-tree index for numeric comparisons. Other string columns (`actorCategory`, `motive`, etc.) are case-insensitive and unindexed; current catalog size makes this a non-issue. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on the JSON-encoded text, so substrings can cross alias boundaries (a search for \"apt28\" will also match \"apt280\" if both appear in the same tag's alias list).", - "items": { - "properties": { - "field": { - "description": "Tag field to search on. Allowed first-class fields: uuid, value, categoryName, description, dateOfDiscovery, tlp, confidence, actorCategory, motive, attributionOrganization, originCountryISO, aliases, externalReferences, opsecLevel, sophisticationLevel, activeDuration, priority, lastSeen, aliasGroupNames. Also supports properties. to filter on custom field values (matches both raw values and annotated {value,confidence,tlp} shapes via COALESCE), and properties..tlp / properties..confidence to filter directly on annotation sub-fields.", - "type": "string" - }, - "op": { - "description": "Search operator. Use 'in' for bulk OR within a single field.", - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "in", - "find" - ], - "type": "string" - }, - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "type": "array" - } - ], - "description": "Search value. String or number for most operators. Array for 'in' (max 100 items)." - } - }, - "required": [ - "field", - "op" - ], - "type": "object" - }, - "type": "array" - }, - "page": { - "type": "number" - }, - "page_size": { - "type": "number" - }, - "search": { - "description": "Free-text substring match on tag value AND custom-field properties. Searches case-insensitively inside both `Tag.value` and the serialized `Tag.properties` JSON blob (keys, values, and annotation metadata like confidence/tlp are all searchable). Same serialized-text tradeoff as `aliasGroupNames` — substrings can cross JSON boundaries.", - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "properties": { - "pagination": { - "properties": { - "page": { - "type": "number" - }, - "pageSize": { - "type": "number" - }, - "totalCount": { - "type": "number" - }, - "totalPages": { - "type": "number" - } - }, - "required": [ - "page", - "pageSize", - "totalCount", - "totalPages" - ], - "type": "object" - }, - "tags": { - "items": { - "properties": { - "activeDuration": { - "type": "string" - }, - "activeDuration_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" + "internalAliases": { + "description": "Owner-private structured aliases ({ value, confidence 1-10, tlp }). Returned to the owning account and omitted from shared-catalog non-owner responses.", + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" }, - "value": { - "type": "string" + { + "type": "null" } - }, - "required": [ - "value" - ], - "type": "object" + ] }, - { - "type": "null" - } - ] - }, - "actorCategory": { - "type": "string" - }, - "actorCategory_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { + "tlp": { + "oneOf": [ + { "enum": [ "red", "amber", @@ -310,230 +249,185 @@ export const tools: readonly Tool[] = [ ], "type": "string" }, - "value": { - "type": "string" + { + "type": "null" } - }, - "required": [ - "value" - ], - "type": "object" + ] }, - { - "type": "null" + "value": { + "type": "string" } - ] - }, - "aliasGroupNames": { - "items": { - "type": "string" }, - "type": "array" + "required": [ + "value" + ], + "type": "object" }, - "aliasGroupNamesInternal": { - "items": { + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "anyOf": [ + { "type": "string" }, - "type": "array" - }, - "aliases": { - "items": { + { "properties": { "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] + "type": "integer" }, "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } }, "required": [ "value" ], "type": "object" + } + ] + }, + "opsecLevel": { + "anyOf": [ + { + "type": "string" }, - "type": "array" - }, - "attributionOrganization": { - "type": "string" - }, - "attributionOrganization_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } + { + "properties": { + "confidence": { + "type": "integer" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "categoryUuid": { - "type": "string" - }, - "confidence": { - "oneOf": [ - { - "type": "integer" + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "dateOfDiscovery": { - "type": "string" - }, - "description": { - "type": "string" - }, - "externalReferenceLinks": { - "items": { + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "originCountryISO": { + "anyOf": [ + { "type": "string" }, - "type": "array" - }, - "externalReferences": { - "items": { + { "properties": { - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] + "confidence": { + "type": "integer" }, - "url": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { "type": "string" } }, "required": [ - "url" + "value" ], "type": "object" + } + ] + }, + "priority": { + "anyOf": [ + { + "type": "number" }, - "type": "array" - }, - "externalReferences_annotated": { - "oneOf": [ - { - "items": { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" + { + "properties": { + "confidence": { + "type": "integer" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" + "type": "string" }, - "type": "array" + "value": { + "type": "number" + } }, - { - "type": "null" - } - ] - }, - "internalAliases": { - "items": { + "required": [ + "value" + ], + "type": "object" + } + ] + }, + "properties": { + "description": "Structured metadata blob. Optional. When `categoryUuid` is given, validated against this category's schema on write. When typeless, accepted free-form. Use `{}` for a tag with no custom data.", + "type": "object" + }, + "sophisticationLevel": { + "anyOf": [ + { + "type": "string" + }, + { "properties": { "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] + "type": "integer" }, "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" }, "value": { "type": "string" @@ -543,90 +437,144 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + } + ] + }, + "tlp": { + "description": "Tag-level TLP handling marking. Optional. Allowed values: red, amber, amber-strict, green, clear, purple, amber+strict.", + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" }, - "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" + "value": { + "type": "string" + } }, - "motive": { - "type": "string" + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } }, - "motive_annotated": { + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { "oneOf": [ { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" + "type": "integer" }, { "type": "null" } ] }, - "opsecLevel": { - "type": "string" - }, - "opsecLevel_annotated": { + "tlp": { "oneOf": [ { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "originCountryISO": { - "oneOf": [ - { "type": "string" }, { @@ -634,119 +582,148 @@ export const tools: readonly Tool[] = [ } ] }, - "originCountryISO_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "priority": { - "type": "number" - }, - "priority_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { "oneOf": [ { - "type": "object" + "type": "string" }, { "type": "null" } ] }, - "sophisticationLevel": { + "url": { "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" }, - "sophisticationLevel_annotated": { + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { "oneOf": [ { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" + "type": "integer" }, { "type": "null" @@ -772,580 +749,2417 @@ export const tools: readonly Tool[] = [ } ] }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - }, "value": { "type": "string" - }, - "version": { - "type": "number" } }, "required": [ - "uuid", "value" ], "type": "object" }, "type": "array" - } - }, - "required": [ - "pagination", - "tags" - ], - "type": "object", - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Lists all tags (SoT)" - }, - method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/tags", - extensions: { - "x-api-token-group": [ - "Cloudforce One Write", - "Cloudforce One Read" - ] - }, - responses: { - schemas: { - "200": { - "properties": { - "pagination": { + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { "properties": { - "page": { - "type": "number" - }, - "pageSize": { + "confidence": { "type": "number" }, - "totalCount": { - "type": "number" + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" }, - "totalPages": { - "type": "number" + "value": { + "type": "string" } }, "required": [ - "page", - "pageSize", - "totalCount", - "totalPages" + "value" ], "type": "object" }, - "tags": { - "items": { - "properties": { - "activeDuration": { - "type": "string" - }, - "activeDuration_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create a tag" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/events/tags/create", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/create`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "cloudforce_one_threat_intel_tags_delete", + title: "Delete a tag", + description: "Deletes a tag by its UUID.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "tag_uuid" + ], + }, + outputSchema: { + "properties": { + "uuid": { + "type": "string" + } + }, + "required": [ + "uuid" + ], + "type": "object", + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete a tag" + }, + method: "DELETE", + path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "uuid": { + "type": "string" + } + }, + "required": [ + "uuid" + ], + "type": "object" + }, + "400": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_tags_get", + title: "Get a tag", + description: "Returns a tag by its UUID, including its custom fields (`properties`). Tags marked TLP:PURPLE are visible only to Cloudforce One.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + required: [ + "account_id", + "tag_uuid" + ], + }, + outputSchema: { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get a tag" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ] + }, + responses: { + schemas: { + "200": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" }, { "type": "null" } ] }, - "actorCategory": { - "type": "string" - }, - "actorCategory_annotated": { + "tlp": { "oneOf": [ { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { + "type": "string" + }, + "type": "array" + }, + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" }, { "type": "null" } ] }, - "aliasGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliasGroupNamesInternal": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliases": { - "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" + }, + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" }, - "required": [ - "value" - ], - "type": "object" + "value": { + "type": "string" + } }, - "type": "array" - }, - "attributionOrganization": { - "type": "string" + "required": [ + "value" + ], + "type": "object" }, - "attributionOrganization_annotated": { + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { "oneOf": [ { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" + "type": "integer" }, { "type": "null" } ] }, - "categoryName": { - "type": "string" - }, - "categoryUuid": { - "type": "string" - }, - "confidence": { + "tlp": { "oneOf": [ { - "type": "integer" + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" }, { "type": "null" } ] }, - "createdAt": { - "type": "string" - }, - "dateOfDiscovery": { + "value": { "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } }, - "description": { - "type": "string" + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } }, - "externalReferenceLinks": { - "items": { + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], "type": "string" }, - "type": "array" - }, - "externalReferences": { - "items": { - "properties": { - "description": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "url": { + "value": { + "oneOf": [ + { "type": "string" + }, + { + "type": "null" } - }, - "required": [ - "url" + ] + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" + "type": "string" }, - "type": "array" + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "404": { + "properties": { + "errors": { + "items": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, + "type": "array" + }, + "result": { + "type": "object" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "result", + "success" + ], + "type": "object" + } + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, + }), + }, + { + name: "cloudforce_one_threat_intel_tags_list", + title: "List tags", + description: "Lists the account's tags. Use `search` to match tag values, `categoryUuid` to limit results to one category, and `filters` (a JSON array) to filter by fields such as `originCountryISO`, `actorCategory`, `motive`, or `priority`. Country filters accept alpha-2 or alpha-3 codes, names, or common aliases. Tags marked TLP:PURPLE are visible only to Cloudforce One.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "cache": { + "description": "Cache strategy. 'from-graph' serves results from the graph-node KV cache when all requested UUIDs are cached; falls back to normal path on partial/zero hit.", + "enum": [ + "from-graph" + ], + "type": "string" + }, + "category_uuid": { + "type": "string" + }, + "filters": { + "description": "Structured filters as a JSON array of {field, op, value} objects. Searchable fields: uuid, value, categoryName, description, dateOfDiscovery, tlp, confidence, actorCategory, motive, attributionOrganization, originCountryISO, aliases, externalReferences, opsecLevel, sophisticationLevel, activeDuration, priority, lastSeen, aliasGroupNames. Operators: equals, not, contains, startsWith, endsWith, gt, lt, gte, lte, like, in, find. Use 'in' for bulk OR within a single field, e.g. filters=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Multiple entries are AND-joined. Max 10 entries per request, max 100 values per 'in'. Per-field notes: `uuid` accepts only 'equals' and 'in' (other operators throw ValidationError) — matched against the canonical lowercase storage but callers may pass either case (the server lowercases before comparison); index-backed by the column's UNIQUE constraint and intended for batched UUID → tag resolution. `originCountryISO` uses its B-tree index for equals/not/in. `priority` uses its B-tree index for numeric comparisons. Other string columns (`actorCategory`, `motive`, etc.) are case-insensitive and unindexed; current catalog size makes this a non-issue. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on the JSON-encoded text, so substrings can cross alias boundaries (a search for \"apt28\" will also match \"apt280\" if both appear in the same tag's alias list).", + "items": { + "properties": { + "field": { + "description": "Tag field to search on. Allowed first-class fields: uuid, value, categoryName, description, dateOfDiscovery, tlp, confidence, actorCategory, motive, attributionOrganization, originCountryISO, aliases, externalReferences, opsecLevel, sophisticationLevel, activeDuration, priority, lastSeen, aliasGroupNames. Also supports properties. to filter on custom field values (matches both raw values and annotated {value,confidence,tlp} shapes via COALESCE), and properties..tlp / properties..confidence to filter directly on annotation sub-fields.", + "type": "string" + }, + "op": { + "description": "Search operator. Use 'in' for bulk OR within a single field.", + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "in", + "find" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "string" }, - "externalReferences_annotated": { - "oneOf": [ - { - "items": { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - { - "type": "null" - } - ] + { + "type": "number" }, - "internalAliases": { + { "items": { - "properties": { - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "value": { + "anyOf": [ + { "type": "string" + }, + { + "type": "number" } - }, - "required": [ - "value" - ], - "type": "object" + ] }, "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" - }, - "motive": { - "type": "string" - }, - "motive_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "opsecLevel": { - "type": "string" - }, - "opsecLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "originCountryISO": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "originCountryISO_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "value" + } + ], + "description": "Search value. String or number for most operators. Array for 'in' (max 100 items)." + } + }, + "required": [ + "field", + "op" + ], + "type": "object" + }, + "type": "array" + }, + "page": { + "type": "number" + }, + "page_size": { + "type": "number" + }, + "search": { + "description": "Free-text substring match on tag value AND custom-field properties. Searches case-insensitively inside both `Tag.value` and the serialized `Tag.properties` JSON blob (keys, values, and annotation metadata like confidence/tlp are all searchable). Same serialized-text tradeoff as `aliasGroupNames` — substrings can cross JSON boundaries.", + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "pagination": { + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "totalCount": { + "type": "number" + }, + "totalPages": { + "type": "number" + } + }, + "required": [ + "page", + "pageSize", + "totalCount", + "totalPages" + ], + "type": "object" + }, + "tags": { + "items": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" + "type": "string" }, - { - "type": "null" + "value": { + "type": "string" } - ] - }, - "priority": { - "type": "number" + }, + "required": [ + "value" + ], + "type": "object" }, - "priority_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" ], - "type": "object" + "type": "string" }, - { - "type": "null" + "value": { + "type": "string" } - ] + }, + "required": [ + "value" + ], + "type": "object" }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { "properties": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "sophisticationLevel": { - "type": "string" - }, - "sophisticationLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } + "confidence": { + "oneOf": [ + { + "type": "integer" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } }, - "tlp": { - "oneOf": [ - { + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { "enum": [ "red", "amber", @@ -1357,301 +3171,230 @@ export const tools: readonly Tool[] = [ ], "type": "string" }, - { - "type": "null" + "value": { + "type": "string" } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" + }, + "required": [ + "value" + ], + "type": "object" }, - "version": { - "type": "number" + { + "type": "null" } - }, - "required": [ - "uuid", - "value" - ], - "type": "object" + ] }, - "type": "array" - } - }, - "required": [ - "pagination", - "tags" - ], - "type": "object" - }, - "400": { - "properties": { - "errors": { - "items": { - "properties": { - "message": { - "type": "string" + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" } - }, - "required": [ - "message" - ], - "type": "object" + ] }, - "type": "array" - }, - "result": { - "type": "object" - }, - "success": { - "type": "boolean" - } - }, - "required": [ - "errors", - "result", - "success" - ], - "type": "object" - } - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags`, - query: [ - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["search", args["search"], true], - ["categoryUuid", args["category_uuid"], true], - ["filters", args["filters"], true], - ["cache", args["cache"], true], - ], - }), - }, - { - name: "cloudforce_one_events_tags_get_by_id", - title: "Gets a tag by UUID (SoT)", - description: "Returns the complete owner projection of an account-scoped Source-of-Truth tag by UUID, including custom fields (properties). Purple TLP remains CFONE-only.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" - } - }, - required: [ - "account_id", - "tag_uuid" - ], - }, - outputSchema: { - "properties": { - "activeDuration": { - "type": "string" - }, - "activeDuration_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { "type": "string" }, - "value": { - "type": "string" - } + "type": "array" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "actorCategory": { - "type": "string" - }, - "actorCategory_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" ], - "type": "string" + "type": "object" }, - "value": { - "type": "string" - } + "type": "array" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "aliasGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliasGroupNamesInternal": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliases": { - "items": { - "properties": { - "confidence": { + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { "oneOf": [ { - "type": "integer" + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" }, { "type": "null" } ] }, - "tlp": { + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { "oneOf": [ { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" ], - "type": "string" + "type": "object" }, { "type": "null" } ] }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "attributionOrganization": { - "type": "string" - }, - "attributionOrganization_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "categoryUuid": { - "type": "string" - }, - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "dateOfDiscovery": { - "type": "string" - }, - "description": { - "type": "string" - }, - "externalReferenceLinks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "externalReferences": { - "items": { - "properties": { - "description": { + "originCountryISO": { "oneOf": [ { "type": "string" @@ -1661,57 +3404,119 @@ export const tools: readonly Tool[] = [ } ] }, - "url": { - "type": "string" - } - }, - "required": [ - "url" - ], - "type": "object" - }, - "type": "array" - }, - "externalReferences_annotated": { - "oneOf": [ - { - "items": { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" + "originCountryISO_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" ], - "type": "string" + "type": "object" }, - "value": { - "type": "string" + { + "type": "null" } - }, - "required": [ - "value" - ], - "type": "object" + ] + }, + "priority": { + "type": "number" + }, + "priority_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "internalAliases": { - "items": { - "properties": { - "confidence": { + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { "oneOf": [ { - "type": "integer" + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" }, { "type": "null" @@ -1733,263 +3538,35 @@ export const tools: readonly Tool[] = [ "type": "string" }, { - "type": "null" - } - ] - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" - }, - "motive": { - "type": "string" - }, - "motive_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "opsecLevel": { - "type": "string" - }, - "opsecLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "originCountryISO": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "originCountryISO_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "priority": { - "type": "number" - }, - "priority_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "sophisticationLevel": { - "type": "string" - }, - "sophisticationLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } + "type": "null" + } + ] }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, + "value": { + "type": "string" + }, + "version": { + "type": "number" + } }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - }, - "version": { - "type": "number" + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" } }, "required": [ - "uuid", - "value" + "pagination", + "tags" ], "type": "object", }, @@ -1998,10 +3575,10 @@ export const tools: readonly Tool[] = [ "idempotentHint": true, "openWorldHint": true, "readOnlyHint": true, - "title": "Gets a tag by UUID (SoT)" + "title": "List tags" }, method: "GET", - path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", + path: "/accounts/{account_id}/cloudforce-one/events/tags", extensions: { "x-api-token-group": [ "Cloudforce One Write", @@ -2012,261 +3589,524 @@ export const tools: readonly Tool[] = [ schemas: { "200": { "properties": { - "activeDuration": { - "type": "string" + "pagination": { + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "totalCount": { + "type": "number" + }, + "totalPages": { + "type": "number" + } + }, + "required": [ + "page", + "pageSize", + "totalCount", + "totalPages" + ], + "type": "object" }, - "activeDuration_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" + "tags": { + "items": { + "properties": { + "activeDuration": { + "type": "string" + }, + "activeDuration_annotated": { + "oneOf": [ + { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "actorCategory": { + "type": "string" + }, + "actorCategory_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "aliasGroupNames": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliasGroupNamesInternal": { + "items": { + "type": "string" + }, + "type": "array" + }, + "aliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" ], + "type": "object" + }, + "type": "array" + }, + "attributionOrganization": { + "type": "string" + }, + "attributionOrganization_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "categoryName": { + "type": "string" + }, + "categoryUuid": { + "type": "string" + }, + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "type": "string" + }, + "dateOfDiscovery": { + "type": "string" + }, + "description": { + "type": "string" + }, + "externalReferenceLinks": { + "items": { "type": "string" }, - "value": { - "type": "string" - } + "type": "array" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "actorCategory": { - "type": "string" - }, - "actorCategory_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" + "externalReferences": { + "items": { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "url": { + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" + "type": "array" + }, + "externalReferences_annotated": { + "oneOf": [ + { + "items": { + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + { + "type": "null" + } + ] + }, + "internalAliases": { + "items": { + "properties": { + "confidence": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "tlp": { + "oneOf": [ + { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" ], - "type": "string" + "type": "object" }, - "value": { - "type": "string" - } + "type": "array" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "aliasGroupNames": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliasGroupNamesInternal": { - "items": { - "type": "string" - }, - "type": "array" - }, - "aliases": { - "items": { - "properties": { - "confidence": { + "internalDescription": { + "type": "string" + }, + "lastSeen": { + "type": "string" + }, + "motive": { + "type": "string" + }, + "motive_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "opsecLevel": { + "type": "string" + }, + "opsecLevel_annotated": { + "oneOf": [ + { + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "originCountryISO": { "oneOf": [ { - "type": "integer" + "type": "string" }, { "type": "null" } ] }, - "tlp": { + "originCountryISO_annotated": { "oneOf": [ { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "value" ], - "type": "string" + "type": "object" }, { "type": "null" } ] }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "attributionOrganization": { - "type": "string" - }, - "attributionOrganization_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } + "priority": { + "type": "number" }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "categoryName": { - "type": "string" - }, - "categoryUuid": { - "type": "string" - }, - "confidence": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "dateOfDiscovery": { - "type": "string" - }, - "description": { - "type": "string" - }, - "externalReferenceLinks": { - "items": { - "type": "string" - }, - "type": "array" - }, - "externalReferences": { - "items": { - "properties": { - "description": { + "priority_annotated": { "oneOf": [ { - "type": "string" + "properties": { + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "number" + } + }, + "required": [ + "value" + ], + "type": "object" }, { "type": "null" } ] }, - "url": { - "type": "string" - } - }, - "required": [ - "url" - ], - "type": "object" - }, - "type": "array" - }, - "externalReferences_annotated": { - "oneOf": [ - { - "items": { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" + "properties": { + "oneOf": [ + { + "type": "object" }, - "value": { - "type": "string" + { + "type": "null" } - }, - "required": [ - "value" - ], - "type": "object" + ] }, - "type": "array" - }, - { - "type": "null" - } - ] - }, - "internalAliases": { - "items": { - "properties": { - "confidence": { + "sophisticationLevel": { + "type": "string" + }, + "sophisticationLevel_annotated": { "oneOf": [ { - "type": "integer" + "properties": { + "confidence": { + "type": "number" + }, + "tlp": { + "enum": [ + "red", + "amber", + "amber-strict", + "green", + "clear", + "purple", + "amber+strict" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" }, { "type": "null" @@ -2292,263 +4132,35 @@ export const tools: readonly Tool[] = [ } ] }, + "updatedAt": { + "type": "string" + }, + "uuid": { + "type": "string" + }, "value": { "type": "string" + }, + "version": { + "type": "number" } }, "required": [ + "uuid", "value" ], "type": "object" }, "type": "array" - }, - "internalDescription": { - "type": "string" - }, - "lastSeen": { - "type": "string" - }, - "motive": { - "type": "string" - }, - "motive_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "opsecLevel": { - "type": "string" - }, - "opsecLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "originCountryISO": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "originCountryISO_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "priority": { - "type": "number" - }, - "priority_annotated": { - "oneOf": [ - { - "properties": { - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "number" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object" - }, - { - "type": "null" - } - ] - }, - "sophisticationLevel": { - "type": "string" - }, - "sophisticationLevel_annotated": { - "oneOf": [ - { - "properties": { - "confidence": { - "type": "number" - }, - "tlp": { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - { - "type": "null" - } - ] - }, - "tlp": { - "oneOf": [ - { - "enum": [ - "red", - "amber", - "amber-strict", - "green", - "clear", - "purple", - "amber+strict" - ], - "type": "string" - }, - { - "type": "null" - } - ] - }, - "updatedAt": { - "type": "string" - }, - "uuid": { - "type": "string" - }, - "value": { - "type": "string" - }, - "version": { - "type": "number" } }, "required": [ - "uuid", - "value" + "pagination", + "tags" ], "type": "object" }, - "404": { + "400": { "properties": { "errors": { "items": { @@ -2581,13 +4193,21 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}`, + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags`, + query: [ + ["page", args["page"], true], + ["pageSize", args["page_size"], true], + ["search", args["search"], true], + ["categoryUuid", args["category_uuid"], true], + ["filters", args["filters"], true], + ["cache", args["cache"], true], + ], }), }, { - name: "cloudforce_one_events_tags_patch", - title: "Updates a tag (SoT)", - description: "Updates an account-owned Source-of-Truth tag by UUID and returns its complete owner projection.", + name: "cloudforce_one_threat_intel_tags_update", + title: "Update a tag", + description: "Updates the given fields of a tag and returns the complete tag.", inputSchema: { type: "object", properties: { @@ -3589,7 +5209,7 @@ export const tools: readonly Tool[] = [ "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, - "title": "Updates a tag (SoT)" + "title": "Update a tag" }, method: "PATCH", path: "/accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts new file mode 100644 index 00000000..c16a9c8d --- /dev/null +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts @@ -0,0 +1,609 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import { type Tool, pathParam } from "../../_/tool.js"; + +/** + * The tools of `cloudforce_one.threat_intel`. + */ +export const tools: readonly Tool[] = [ + { + name: "cloudforce_one_threat_intel_search", + title: "Search threat intelligence", + description: "Searches the articles, actors, tags, events, and indicators you can read and returns one list of typed results, most relevant first. Use `entity_types` to limit the types searched.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "body": { + "properties": { + "entity_types": { + "default": [ + "article", + "actor", + "tag", + "event", + "indicator" + ], + "description": "Entity types to search. Omit to search articles, actors, tags, events, and indicators.", + "items": { + "enum": [ + "article", + "actor", + "tag", + "event", + "indicator" + ], + "type": "string" + }, + "maxItems": 5, + "minItems": 1, + "type": "array" + }, + "include_analytics_datasets": { + "default": false, + "description": "Whether to include Event and Indicator matches from analytics datasets. Defaults to false because these datasets can take longer to search. When omitted or false, those matches are intentionally excluded and source completeness covers only the backends that were queried.", + "type": "boolean" + }, + "limit": { + "default": 20, + "description": "Maximum number of results to return. Defaults to 20.", + "type": "integer" + }, + "query": { + "description": "Search text, from 1 to 1000 characters after trimming.", + "type": "string" + } + }, + "required": [ + "query" + ], + "type": "object" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "count": { + "type": "integer" + }, + "items": { + "items": { + "oneOf": [ + { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "published_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "article" + ], + "type": "string" + } + }, + "required": [ + "article_id", + "feed_id", + "published_at", + "title", + "type" + ], + "type": "object" + }, + { + "properties": { + "actor_id": { + "format": "uuid", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "retrieval_score": { + "type": "number" + }, + "type": { + "enum": [ + "actor" + ], + "type": "string" + } + }, + "required": [ + "actor_id", + "description", + "name", + "type" + ], + "type": "object" + }, + { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tag_id": { + "format": "uuid", + "type": "string" + }, + "type": { + "enum": [ + "tag" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "description", + "tag_id", + "type", + "value" + ], + "type": "object" + }, + { + "properties": { + "dataset_id": { + "format": "uuid", + "type": "string" + }, + "event_id": { + "format": "uuid", + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "enum": [ + "event" + ], + "type": "string" + } + }, + "required": [ + "dataset_id", + "event_id", + "title", + "type" + ], + "type": "object" + }, + { + "properties": { + "dataset_id": { + "format": "uuid", + "type": "string" + }, + "indicator_id": { + "format": "uuid", + "type": "string" + }, + "indicator_type": { + "type": "string" + }, + "tags": { + "items": { + "properties": { + "category_name": { + "type": "string" + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "indicator" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "dataset_id", + "indicator_id", + "indicator_type", + "tags", + "type", + "value" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "partial": { + "type": "boolean" + }, + "sources": { + "items": { + "properties": { + "source": { + "enum": [ + "article", + "actor", + "tag", + "event", + "indicator" + ], + "type": "string" + }, + "status": { + "enum": [ + "complete", + "degraded", + "unavailable" + ], + "type": "string" + } + }, + "required": [ + "source", + "status" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "count", + "items", + "partial", + "sources" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Search threat intelligence" + }, + method: "POST", + path: "/accounts/{account_id}/cloudforce-one/v2/search", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": { + "properties": { + "count": { + "type": "integer" + }, + "items": { + "items": { + "oneOf": [ + { + "properties": { + "article_id": { + "format": "uuid", + "type": "string" + }, + "feed_id": { + "format": "uuid", + "type": "string" + }, + "published_at": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "title": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": { + "enum": [ + "article" + ], + "type": "string" + } + }, + "required": [ + "article_id", + "feed_id", + "published_at", + "title", + "type" + ], + "type": "object" + }, + { + "properties": { + "actor_id": { + "format": "uuid", + "type": "string" + }, + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "name": { + "type": "string" + }, + "retrieval_score": { + "type": "number" + }, + "type": { + "enum": [ + "actor" + ], + "type": "string" + } + }, + "required": [ + "actor_id", + "description", + "name", + "type" + ], + "type": "object" + }, + { + "properties": { + "description": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "tag_id": { + "format": "uuid", + "type": "string" + }, + "type": { + "enum": [ + "tag" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "description", + "tag_id", + "type", + "value" + ], + "type": "object" + }, + { + "properties": { + "dataset_id": { + "format": "uuid", + "type": "string" + }, + "event_id": { + "format": "uuid", + "type": "string" + }, + "title": { + "type": "string" + }, + "type": { + "enum": [ + "event" + ], + "type": "string" + } + }, + "required": [ + "dataset_id", + "event_id", + "title", + "type" + ], + "type": "object" + }, + { + "properties": { + "dataset_id": { + "format": "uuid", + "type": "string" + }, + "indicator_id": { + "format": "uuid", + "type": "string" + }, + "indicator_type": { + "type": "string" + }, + "tags": { + "items": { + "properties": { + "category_name": { + "type": "string" + }, + "uuid": { + "format": "uuid", + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "uuid", + "value" + ], + "type": "object" + }, + "type": "array" + }, + "type": { + "enum": [ + "indicator" + ], + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "dataset_id", + "indicator_id", + "indicator_type", + "tags", + "type", + "value" + ], + "type": "object" + } + ] + }, + "type": "array" + }, + "partial": { + "type": "boolean" + }, + "sources": { + "items": { + "properties": { + "source": { + "enum": [ + "article", + "actor", + "tag", + "event", + "indicator" + ], + "type": "string" + }, + "status": { + "enum": [ + "complete", + "degraded", + "unavailable" + ], + "type": "string" + } + }, + "required": [ + "source", + "status" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "count", + "items", + "partial", + "sources" + ], + "type": "object" + }, + "400": null, + "401": null, + "429": null, + "503": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/search`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, +]; diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts index a7b739ec..2b5be2e6 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts @@ -7,6 +7,336 @@ import { type Tool, pathParam } from "../../../_/tool.js"; * The tools of `cloudforce_one.threat_signals.articles`. */ export const tools: readonly Tool[] = [ + { + name: "cloudforce_one_threat_signals_articles_aggregate_relevance", + title: "Count Threat Signals articles by relevance band", + description: "Beta. Counts the account's Threat Signals articles in each relevance band, for each active Priority Intelligence Requirement and across all of them. Uses the same PIRs as article relevance: active PIRs, including those the matcher paused; drafts and deleted PIRs are excluded. Articles not scored against a PIR are not counted for it. The combined counts place each article once, in the band of its best score, so they are not the sum of the per-PIR counts. All counts are read together and are exact.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "published_after": { + "description": "Include articles published at or after this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", + "format": "date-time", + "type": "string" + }, + "published_before": { + "description": "Include articles published at or before this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", + "format": "date-time", + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "combined": { + "properties": { + "articles": { + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + } + }, + "required": [ + "high", + "low", + "medium" + ], + "type": "object" + } + }, + "required": [ + "articles" + ], + "type": "object" + }, + "priorities": { + "items": { + "properties": { + "articles": { + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + } + }, + "required": [ + "high", + "low", + "medium" + ], + "type": "object" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "articles", + "id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "combined", + "priorities" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Count Threat Signals articles by relevance band" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/relevance/aggregate", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": { + "properties": { + "combined": { + "properties": { + "articles": { + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + } + }, + "required": [ + "high", + "low", + "medium" + ], + "type": "object" + } + }, + "required": [ + "articles" + ], + "type": "object" + }, + "priorities": { + "items": { + "properties": { + "articles": { + "properties": { + "high": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + } + }, + "required": [ + "high", + "low", + "medium" + ], + "type": "object" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "articles", + "id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "combined", + "priorities" + ], + "type": "object" + }, + "4XX": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/relevance/aggregate`, + query: [ + ["published_after", args["published_after"], true], + ["published_before", args["published_before"], true], + ], + }), + }, + { + name: "cloudforce_one_threat_signals_articles_aggregate_severity", + title: "Count Threat Signals articles by severity band", + description: "Beta. Counts the account's Threat Signals articles in each intrinsic severity band. An article's band is the severity level nearest its severity, from informational to critical. Articles without a severity are not counted. min_relevance counts only articles at or above a relevance band for any active Priority Intelligence Requirement. Like the article severity field, severity is reported only while the account has an active Priority Intelligence Requirement, including one the matcher paused; otherwise every count is zero. All counts are read together and are exact.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "type": "string" + }, + "min_relevance": { + "description": "Beta. Count only articles at or above this relevance band for any active Priority Intelligence Requirement, as the article list's min_relevance does without pir_id. Excludes articles that have not been scored against an active PIR.", + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "published_after": { + "description": "Include articles published at or after this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", + "format": "date-time", + "type": "string" + }, + "published_before": { + "description": "Include articles published at or before this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", + "format": "date-time", + "type": "string" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "articles": { + "properties": { + "critical": { + "type": "integer" + }, + "high": { + "type": "integer" + }, + "informational": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + } + }, + "required": [ + "critical", + "high", + "informational", + "low", + "medium" + ], + "type": "object" + } + }, + "required": [ + "articles" + ], + "type": "object", + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Count Threat Signals articles by severity band" + }, + method: "GET", + path: "/accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/severity/aggregate", + extensions: { + "x-api-token-group": [ + "Cloudforce One Write", + "Cloudforce One Read" + ], + "x-stability": "beta" + }, + responses: { + schemas: { + "200": { + "properties": { + "articles": { + "properties": { + "critical": { + "type": "integer" + }, + "high": { + "type": "integer" + }, + "informational": { + "type": "integer" + }, + "low": { + "type": "integer" + }, + "medium": { + "type": "integer" + } + }, + "required": [ + "critical", + "high", + "informational", + "low", + "medium" + ], + "type": "object" + } + }, + "required": [ + "articles" + ], + "type": "object" + }, + "4XX": null + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/severity/aggregate`, + query: [ + ["published_after", args["published_after"], true], + ["published_before", args["published_before"], true], + ["min_relevance", args["min_relevance"], true], + ], + }), + }, { name: "cloudforce_one_threat_signals_articles_bulk_mark_read", title: "Bulk update Threat Signals article read status", @@ -94,7 +424,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforce_one_threat_signals_articles_get", title: "Get Threat Signals article", - description: "Retrieves a Threat Signals article with its summary, tags and indicator status.", + description: "Retrieves a Threat Signals article with its summary, tags, indicator status and relevance to the account's Priority Intelligence Requirements.", inputSchema: { type: "object", properties: { @@ -223,6 +553,69 @@ export const tools: readonly Tool[] = [ } ] }, + "relevance": { + "oneOf": [ + { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + }, + "pirs": { + "items": { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "band", + "pir_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "band", + "pir_id", + "pirs" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "severity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, "skill_version": { "oneOf": [ { @@ -330,6 +723,8 @@ export const tools: readonly Tool[] = [ "published_at", "read", "read_at", + "relevance", + "severity", "source_count", "summary", "summary_r2_key", @@ -466,6 +861,69 @@ export const tools: readonly Tool[] = [ } ] }, + "relevance": { + "oneOf": [ + { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + }, + "pirs": { + "items": { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "band", + "pir_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "band", + "pir_id", + "pirs" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "severity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, "skill_version": { "oneOf": [ { @@ -573,6 +1031,8 @@ export const tools: readonly Tool[] = [ "published_at", "read", "read_at", + "relevance", + "severity", "source_count", "summary", "summary_r2_key", @@ -693,11 +1153,25 @@ export const tools: readonly Tool[] = [ "description": "When true on the first page, count matching articles and return an exact total. Defaults to false; cursor pages do not recalculate totals.", "type": "boolean" }, + "min_relevance": { + "description": "Beta. Return only articles at or above this relevance band for pir_id, or for any active PIR when pir_id is omitted. Excludes articles that have not been scored.", + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, "per_page": { "default": 20, "description": "Number of articles per cursor page, from 1 to 100. Defaults to 20.", "type": "integer" }, + "pir_id": { + "description": "Beta. Active Priority Intelligence Requirement to report, filter, and sort relevance by. Omit to use each article's most relevant active PIR. Returns a 400 error unless the PIR is active.", + "format": "uuid", + "type": "string" + }, "published_after": { "description": "Include articles published at or after this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", "format": "date-time", @@ -718,7 +1192,7 @@ export const tools: readonly Tool[] = [ }, "sort": { "default": "-fetched_at", - "description": "Sort by fetched_at, published_at, or title. Prefix the field with - for descending order; defaults to -fetched_at.", + "description": "Sort by fetched_at, published_at, title, or relevance (beta). Prefix the field with - for descending order; defaults to -fetched_at. -relevance lists the most relevant articles first, by pir_id or by each article's most relevant active PIR, with unscored articles last.", "type": "string" }, "source_type": { @@ -848,6 +1322,69 @@ export const tools: readonly Tool[] = [ } ] }, + "relevance": { + "oneOf": [ + { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + }, + "pirs": { + "items": { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "band", + "pir_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "band", + "pir_id", + "pirs" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "severity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, "summary": { "oneOf": [ { @@ -920,6 +1457,8 @@ export const tools: readonly Tool[] = [ "published_at", "read", "read_at", + "relevance", + "severity", "summary", "tags", "title" @@ -1060,6 +1599,69 @@ export const tools: readonly Tool[] = [ } ] }, + "relevance": { + "oneOf": [ + { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + }, + "pirs": { + "items": { + "properties": { + "band": { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "band", + "pir_id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "band", + "pir_id", + "pirs" + ], + "type": "object" + }, + { + "type": "null" + } + ] + }, + "severity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, "summary": { "oneOf": [ { @@ -1132,6 +1734,8 @@ export const tools: readonly Tool[] = [ "published_at", "read", "read_at", + "relevance", + "severity", "summary", "tags", "title" @@ -1200,6 +1804,8 @@ export const tools: readonly Tool[] = [ ["feed_category", args["feed_category"], true], ["source_type", args["source_type"], true], ["tag_applied_by", args["tag_applied_by"], true], + ["pir_id", args["pir_id"], true], + ["min_relevance", args["min_relevance"], true], ["sort", args["sort"], true], ], }), @@ -1348,6 +1954,16 @@ export const tools: readonly Tool[] = [ } ] }, + "severity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, "skill_version": { "oneOf": [ { @@ -1455,6 +2071,7 @@ export const tools: readonly Tool[] = [ "published_at", "read", "read_at", + "severity", "source_count", "summary", "summary_r2_key", @@ -1590,6 +2207,16 @@ export const tools: readonly Tool[] = [ } ] }, + "severity": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, "skill_version": { "oneOf": [ { @@ -1697,6 +2324,7 @@ export const tools: readonly Tool[] = [ "published_at", "read", "read_at", + "severity", "source_count", "summary", "summary_r2_key", diff --git a/src/generated/forge-mcp/d1/tools.ts b/src/generated/forge-mcp/d1/tools.ts index c9fb5f6e..cb8f4b46 100644 --- a/src/generated/forge-mcp/d1/tools.ts +++ b/src/generated/forge-mcp/d1/tools.ts @@ -749,7 +749,7 @@ export const tools: readonly Tool[] = [ { name: "d1_undelete", title: "Undelete D1 Database", - description: "Restore a deleted D1 database. The database is restored with the name it had when it was deleted,\nunless `new_name` is provided. The restored database counts against the account's limits.\nUndeleting a database that is not deleted succeeds without changes, unless `new_name` differs from its current name which errors.\n\nOnce a database is undeleted, Time Travel (point-in-time recovery) cannot restore it to a bookmark or\ntimestamp at or before the undeletion. Only states after the undeletion can be restored.\n\nConfirm with the user before calling this tool. After undeleting, Time Travel cannot restore the D1 database to a point in time at or before the undeletion.", + description: "Restore a deleted D1 database. The database is restored with the name it had when it was deleted,\nunless `new_name` is provided. The restored database counts against the account's limits.\nUndeleting a database that is not deleted succeeds without changes, unless `new_name` differs from its current name which errors.\nA database can only be undeleted within 7 days (7 * 24 hours) of its deletion.\n\nOnce a database is undeleted, Time Travel (point-in-time recovery) cannot restore it to a bookmark or\ntimestamp at or before the undeletion. Only states after the undeletion can be restored.\n\nConfirm with the user before calling this tool. After undeleting, Time Travel cannot restore the D1 database to a point in time at or before the undeletion.", inputSchema: { type: "object", properties: { diff --git a/src/generated/forge-mcp/dls/outputs.ts b/src/generated/forge-mcp/dls/outputs.ts index b3ef8fbd..fe0b9fcf 100644 --- a/src/generated/forge-mcp/dls/outputs.ts +++ b/src/generated/forge-mcp/dls/outputs.ts @@ -43,6 +43,12 @@ export const dls_coded_message_output: JsonSchema = { "code": { "type": "integer" }, + "error_chain": { + "items": { + "type": "object" + }, + "type": "array" + }, "message": { "type": "string" } diff --git a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts index 5c33939c..461e87bf 100644 --- a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts +++ b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regional_services_prefix_bindings_create", title: "Create a DLS prefix binding", - description: "Create a DLS prefix binding", + description: "Bind a CIDR from a BYOIP prefix to a region.\n\nThis requires the **IP Prefixes Write** permission in addition to **DLS Write**, because the binding is created against a BYOIP prefix in Addressing.", inputSchema: { type: "object", properties: { @@ -59,6 +59,12 @@ export const tools: readonly Tool[] = [ }, method: "POST", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings", + extensions: { + "x-api-token-group": [ + "DLS: Write", + "IP Prefixes: Write" + ] + }, responses: { schemas: { "201": { @@ -95,7 +101,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regional_services_prefix_bindings_delete", title: "Delete a DLS prefix binding", - description: "Delete a DLS prefix binding", + description: "Delete a BYOIP prefix binding.\n\nLike creating a binding, this requires **IP Prefixes Write** in addition to **DLS Write**.", inputSchema: { type: "object", properties: { @@ -129,6 +135,12 @@ export const tools: readonly Tool[] = [ }, method: "DELETE", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", + extensions: { + "x-api-token-group": [ + "DLS: Write", + "IP Prefixes: Write" + ] + }, responses: { schemas: { "200": { @@ -161,7 +173,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regional_services_prefix_bindings_edit", title: "Update a DLS prefix binding", - description: "Update a DLS prefix binding", + description: "Update the region of an existing BYOIP prefix binding.\n\nLike creating a binding, this requires **IP Prefixes Write** in addition to **DLS Write**.", inputSchema: { type: "object", properties: { @@ -201,6 +213,12 @@ export const tools: readonly Tool[] = [ }, method: "PATCH", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", + extensions: { + "x-api-token-group": [ + "DLS: Write", + "IP Prefixes: Write" + ] + }, responses: { schemas: { "200": { @@ -237,7 +255,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regional_services_prefix_bindings_get", title: "Get a DLS prefix binding", - description: "Get a DLS prefix binding", + description: "Retrieve a single BYOIP prefix binding by ID.", inputSchema: { type: "object", properties: { @@ -270,6 +288,12 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", + extensions: { + "x-api-token-group": [ + "DLS: Read", + "DLS: Write" + ] + }, responses: { schemas: { "200": { @@ -302,7 +326,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regional_services_prefix_bindings_list", title: "List DLS prefix bindings for an account", - description: "List DLS prefix bindings for an account", + description: "List the BYOIP prefix bindings configured for an account.", inputSchema: { type: "object", properties: { @@ -353,6 +377,12 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regional_services/prefix_bindings", + extensions: { + "x-api-token-group": [ + "DLS: Read", + "DLS: Write" + ] + }, responses: { schemas: { "200": { diff --git a/src/generated/forge-mcp/dls/regions/tools.ts b/src/generated/forge-mcp/dls/regions/tools.ts index 84b54b60..7737ce30 100644 --- a/src/generated/forge-mcp/dls/regions/tools.ts +++ b/src/generated/forge-mcp/dls/regions/tools.ts @@ -19,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regions_get", title: "Get a DLS region", - description: "Get a DLS region", + description: "Retrieve a single DLS region (managed or custom) by ID or region key.", inputSchema: { type: "object", properties: { @@ -52,6 +52,12 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regions/{region_id}", + extensions: { + "x-api-token-group": [ + "DLS: Read", + "DLS: Write" + ] + }, responses: { schemas: { "200": { @@ -84,7 +90,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regions_list", title: "List DLS regions for an account", - description: "List DLS regions for an account", + description: "List the DLS regions (managed and custom) available to an account.", inputSchema: { type: "object", properties: { @@ -143,6 +149,12 @@ export const tools: readonly Tool[] = [ }, method: "GET", path: "/accounts/{account_id}/dls/regions", + extensions: { + "x-api-token-group": [ + "DLS: Read", + "DLS: Write" + ] + }, responses: { schemas: { "200": { diff --git a/src/generated/forge-mcp/dnsFirewall/outputs.ts b/src/generated/forge-mcp/dnsFirewall/outputs.ts index 0cbfb679..bedb8d65 100644 --- a/src/generated/forge-mcp/dnsFirewall/outputs.ts +++ b/src/generated/forge-mcp/dnsFirewall/outputs.ts @@ -3,32 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `dns-firewall_api-response-common` in responses. - */ -export const dns_firewall_api_response_common_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "messages": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "success" - ], - "type": "object" -}; - /** * The schema of `dns-firewall_api-response-common-failure` in responses. */ @@ -160,95 +134,6 @@ export const dns_firewall_dns_firewall_ips_output: JsonSchema = { "type": "array" }; -/** - * The schema of `dns-firewall_dns_firewall_response_collection` in responses. - */ -export const dns_firewall_dns_firewall_response_collection_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "messages": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "result": { - "items": { - "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" - }, - "type": "array" - }, - "result_info": { - "$ref": "#/$defs/dns-firewall_dns_firewall_response_collection_result_info" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "success" - ], - "type": "object" -}; - -/** - * The schema of `dns-firewall_dns_firewall_response_collection_result_info` in - * responses. - */ -export const dns_firewall_dns_firewall_response_collection_result_info_output: JsonSchema = { - "properties": { - "count": { - "type": "number" - }, - "page": { - "type": "number" - }, - "per_page": { - "type": "number" - }, - "total_count": { - "type": "number" - }, - "total_pages": { - "type": "number" - } - }, - "type": "object" -}; - -/** - * The schema of `dns-firewall_dns_firewall_single_response` in responses. - */ -export const dns_firewall_dns_firewall_single_response_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "messages": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "result": { - "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "success" - ], - "type": "object" -}; - /** * The schema of `dns-firewall_ecs_fallback` in responses. */ diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts index 13c44edf..6b481ede 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts @@ -20,33 +20,3 @@ export const dns_firewall_dns_firewall_reverse_dns_response_output: JsonSchema = ], "type": "object" }; - -/** - * The schema of `dns-firewall_dns_firewall_reverse_dns_response_alt` in - * responses. - */ -export const dns_firewall_dns_firewall_reverse_dns_response_alt_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "messages": { - "$ref": "#/$defs/dns-firewall_messages" - }, - "result": { - "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-response" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "success" - ], - "type": "object" -}; diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts index a27aaac0..72fd2c52 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts @@ -6,10 +6,7 @@ import { dns_firewall_api_response_common_failure_output, dns_firewall_messages_output, } from "../outputs.js"; -import { - dns_firewall_dns_firewall_reverse_dns_response_alt_output, - dns_firewall_dns_firewall_reverse_dns_response_output, -} from "./outputs.js"; +import { dns_firewall_dns_firewall_reverse_dns_response_output } from "./outputs.js"; import { dns_firewall_dns_firewall_reverse_dns } from "./schemas.js"; /** @@ -86,20 +83,12 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-response" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response_alt" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, - "dns-firewall_dns_firewall_reverse_dns_response_alt": dns_firewall_dns_firewall_reverse_dns_response_alt_output, "dns-firewall_messages": dns_firewall_messages_output, }, }, @@ -172,20 +161,12 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-response" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response_alt" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, - "dns-firewall_dns_firewall_reverse_dns_response_alt": dns_firewall_dns_firewall_reverse_dns_response_alt_output, "dns-firewall_messages": dns_firewall_messages_output, }, }, diff --git a/src/generated/forge-mcp/dnsFirewall/tools.ts b/src/generated/forge-mcp/dnsFirewall/tools.ts index 16d8a73b..a4db55fa 100644 --- a/src/generated/forge-mcp/dnsFirewall/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/tools.ts @@ -4,14 +4,10 @@ import { type Tool, pathParam } from "../_/tool.js"; import { dns_firewall_api_response_common_failure_output, - dns_firewall_api_response_common_output, dns_firewall_attack_mitigation_output, dns_firewall_deprecate_any_requests_output, dns_firewall_dns_firewall_cluster_response_output, dns_firewall_dns_firewall_ips_output, - dns_firewall_dns_firewall_response_collection_output, - dns_firewall_dns_firewall_response_collection_result_info_output, - dns_firewall_dns_firewall_single_response_output, dns_firewall_ecs_fallback_output, dns_firewall_identifier_output, dns_firewall_maximum_cache_ttl_output, @@ -133,14 +129,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_dns_firewall_single_response" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { @@ -149,7 +138,6 @@ export const tools: readonly Tool[] = [ "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, - "dns-firewall_dns_firewall_single_response": dns_firewall_dns_firewall_single_response_output, "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, "dns-firewall_identifier": dns_firewall_identifier_output, "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, @@ -241,31 +229,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_api-response-common" - }, - { - "properties": { - "result": { - "properties": { - "id": { - "$ref": "#/$defs/dns-firewall_identifier" - } - }, - "type": "object" - } - }, - "type": "object" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { - "dns-firewall_api-response-common": dns_firewall_api_response_common_output, "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, "dns-firewall_identifier": dns_firewall_identifier_output, "dns-firewall_messages": dns_firewall_messages_output, @@ -368,14 +335,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_dns_firewall_single_response" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { @@ -384,7 +344,6 @@ export const tools: readonly Tool[] = [ "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, - "dns-firewall_dns_firewall_single_response": dns_firewall_dns_firewall_single_response_output, "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, "dns-firewall_identifier": dns_firewall_identifier_output, "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, @@ -480,14 +439,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-response" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_dns_firewall_single_response" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { @@ -496,7 +448,6 @@ export const tools: readonly Tool[] = [ "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, - "dns-firewall_dns_firewall_single_response": dns_firewall_dns_firewall_single_response_output, "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, "dns-firewall_identifier": dns_firewall_identifier_output, "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, @@ -658,14 +609,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/dns-firewall_dns_firewall_response_collection" - }, - { - "$ref": "#/$defs/dns-firewall_api-response-common-failure" - } - ] + "$ref": "#/$defs/dns-firewall_api-response-common-failure" } }, $defs: { @@ -674,8 +618,6 @@ export const tools: readonly Tool[] = [ "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, "dns-firewall_dns-firewall-cluster-response": dns_firewall_dns_firewall_cluster_response_output, "dns-firewall_dns_firewall_ips": dns_firewall_dns_firewall_ips_output, - "dns-firewall_dns_firewall_response_collection": dns_firewall_dns_firewall_response_collection_output, - "dns-firewall_dns_firewall_response_collection_result_info": dns_firewall_dns_firewall_response_collection_result_info_output, "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback_output, "dns-firewall_identifier": dns_firewall_identifier_output, "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl_output, diff --git a/src/generated/forge-mcp/domainInfo/tools.ts b/src/generated/forge-mcp/domainInfo/tools.ts deleted file mode 100644 index 2b7a1272..00000000 --- a/src/generated/forge-mcp/domainInfo/tools.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `domain_info`. - */ -export const tools: readonly Tool[] = [ - { - name: "domain_info_get", - title: "Read submitted domains by ID", - description: "Return submitted domains based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read submitted domains by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/domain-info", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/domain-info`, - }), - }, -]; diff --git a/src/generated/forge-mcp/emailDomains/outputs.ts b/src/generated/forge-mcp/emailDomains/outputs.ts new file mode 100644 index 00000000..90e32d79 --- /dev/null +++ b/src/generated/forge-mcp/emailDomains/outputs.ts @@ -0,0 +1,321 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `email_email_domain` in responses. + */ +export const email_email_domain_output: JsonSchema = { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier" + }, + "client_reference": { + "type": "string" + }, + "dns_management": { + "enum": [ + "external" + ], + "type": "string" + }, + "dns_records": { + "items": { + "$ref": "#/$defs/email_email_domain_dns_record" + }, + "maxItems": 4, + "minItems": 4, + "type": "array" + }, + "hostname": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + }, + "lifecycle_reason": { + "enum": [ + "deleting" + ], + "type": "string" + }, + "lifecycle_status": { + "enum": [ + "provisioned", + "deleting" + ], + "type": "string" + }, + "routing": { + "$ref": "#/$defs/email_email_domain_capability" + }, + "sending": { + "$ref": "#/$defs/email_email_domain_capability" + }, + "verification": { + "$ref": "#/$defs/email_email_domain_verification" + } + }, + "required": [ + "account_id", + "dns_management", + "hostname", + "id", + "lifecycle_status", + "routing", + "sending", + "verification" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_capability` in responses. + */ +export const email_email_domain_capability_output: JsonSchema = { + "properties": { + "reason": { + "type": "string" + }, + "status": { + "enum": [ + "pending_dns", + "active", + "degraded", + "suspended" + ], + "type": "string" + }, + "uncertainty_expires_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_collection_response_result_info` in + * responses. + */ +export const email_email_domain_collection_response_result_info_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "next_cursor": { + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "required": [ + "count", + "next_cursor", + "per_page" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_dns_record` in responses. + */ +export const email_email_domain_dns_record_output: JsonSchema = { + "properties": { + "content": { + "type": "string" + }, + "name": { + "type": "string" + }, + "observed_at": { + "format": "date-time", + "type": "string" + }, + "priority": { + "type": "integer" + }, + "purpose": { + "enum": [ + "return_path", + "dkim", + "routing" + ], + "type": "string" + }, + "required_for": { + "items": { + "enum": [ + "sending", + "routing" + ], + "type": "string" + }, + "type": "array" + }, + "selector": { + "enum": [ + "s1", + "s2" + ], + "type": "string" + }, + "type": { + "enum": [ + "CNAME", + "MX" + ], + "type": "string" + }, + "validation_status": { + "enum": [ + "pending", + "valid", + "missing", + "mismatch", + "conflict", + "indeterminate", + "dnssec_bogus" + ], + "type": "string" + }, + "verification_group": { + "enum": [ + "ownership_any" + ], + "type": "string" + } + }, + "required": [ + "content", + "name", + "purpose", + "required_for", + "type", + "validation_status" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_error_response` in responses. + */ +export const email_email_domain_error_response_output: JsonSchema = { + "properties": { + "errors": { + "items": { + "$ref": "#/$defs/email_email_domain_error_response_errorsItem" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/email_email_domain_error_response_messagesItem" + }, + "type": "array" + }, + "result": { + "oneOf": [ + { + "type": "object" + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + false + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_error_response_errorsItem` in responses. + */ +export const email_email_domain_error_response_errorsItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_error_response_messagesItem` in responses. + */ +export const email_email_domain_error_response_messagesItem_output: JsonSchema = { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" +}; + +/** + * The schema of `email_email_domain_verification` in responses. + */ +export const email_email_domain_verification_output: JsonSchema = { + "properties": { + "expires_at": { + "format": "date-time", + "type": "string" + }, + "observed_at": { + "format": "date-time", + "type": "string" + }, + "reason": { + "type": "string" + }, + "status": { + "enum": [ + "pending", + "verified", + "indeterminate", + "invalid" + ], + "type": "string" + }, + "verified_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailDomains/schemas.ts b/src/generated/forge-mcp/emailDomains/schemas.ts new file mode 100644 index 00000000..94a9349d --- /dev/null +++ b/src/generated/forge-mcp/emailDomains/schemas.ts @@ -0,0 +1,24 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../_/tool.js"; + +/** + * The schema of `email_email_domain_create`. + */ +export const email_email_domain_create: JsonSchema = { + "properties": { + "client_reference": { + "description": "Opaque reference for one customer enrollment. Reuse it with the same hostname to retry Create safely. Distinct references can enroll the same unverified hostname; a hostname alone never identifies a customer.", + "type": "string" + }, + "hostname": { + "description": "Exact external hostname to enroll. After ASCII conversion, the assigned Return-Path hostname must be at most 201 characters (191 for the current cf-bounce. prefix). Wildcards, provider-zone names, and hostnames inside an existing Cloudflare-managed DNS zone are rejected.", + "type": "string" + } + }, + "required": [ + "hostname" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/emailDomains/tools.ts b/src/generated/forge-mcp/emailDomains/tools.ts new file mode 100644 index 00000000..804c1657 --- /dev/null +++ b/src/generated/forge-mcp/emailDomains/tools.ts @@ -0,0 +1,530 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import { type Tool, pathParam } from "../_/tool.js"; +import { email_identifier_output } from "../outputs.js"; +import { + email_email_domain_capability_output, + email_email_domain_collection_response_result_info_output, + email_email_domain_dns_record_output, + email_email_domain_error_response_errorsItem_output, + email_email_domain_error_response_messagesItem_output, + email_email_domain_error_response_output, + email_email_domain_output, + email_email_domain_verification_output, +} from "./outputs.js"; +import { email_email_domain_create } from "./schemas.js"; + +/** + * The tools of `email_domains`. + */ +export const tools: readonly Tool[] = [ + { + name: "email_domains_create", + title: "Create an Email Domain", + description: "Creates a candidate and four DNS instructions. Rejects hostnames whose assigned Return-Path exceeds 201 ASCII characters. Creation follows read-only checks of the saved provider bundle and published exclusion. Hostnames inside an active full Cloudflare DNS zone return the generic hostname conflict error 2083. No per-domain provider DNS writes occur. Customer DNS observations remain pending and mail remains inactive. Unverified candidates may share a hostname. Supply an account-unique client_reference to retry the same enrollment safely; reuse with a different hostname returns error 2083. Final public-DNS, namespace protection and runtime readiness are separate gates. Available only to the configured OpenAI pilot account behind a default-off gate. Authentication failures may use the gateway error envelope.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Identifier.", + "type": "string" + }, + "body": { + "$ref": "#/$defs/email_email_domain_create" + } + }, + required: [ + "account_id", + "body" + ], + $defs: { + "email_email_domain_create": email_email_domain_create, + }, + }, + outputSchema: { + "$ref": "#/$defs/email_email_domain", + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Create an Email Domain" + }, + method: "POST", + path: "/accounts/{account_id}/email/domains", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.email.domain.create" + ], + "x-fern-enum": { + "com.cloudflare.api.account.email.domain.create": { + "name": "com_cloudflare_api_account_email_domain_create" + } + } + } + }, + responses: { + schemas: { + "201": { + "$ref": "#/$defs/email_email_domain" + }, + "400": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "403": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "404": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "409": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "429": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "500": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "503": { + "$ref": "#/$defs/email_email_domain_error_response" + } + }, + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_error_response": email_email_domain_error_response_output, + "email_email_domain_error_response_errorsItem": email_email_domain_error_response_errorsItem_output, + "email_email_domain_error_response_messagesItem": email_email_domain_error_response_messagesItem_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/email/domains`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "email_domains_delete", + title: "Delete an Email Domain", + description: "Requires an empty body. Unclaimed unpublished candidates are purged immediately. Claimed domains persist deleting state and retain claims until the deletion worker acknowledges safe revocation and token retirement. Repeated requests while deleting are idempotent. Available only to the configured OpenAI pilot account behind a default-off gate. Authentication failures may use the gateway error envelope.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Identifier.", + "type": "string" + }, + "email_domain_id": { + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "email_domain_id" + ], + }, + outputSchema: { + "$ref": "#/$defs/email_email_domain", + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete an Email Domain" + }, + method: "DELETE", + path: "/accounts/{account_id}/email/domains/{email_domain_id}", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.email.domain.delete" + ], + "x-fern-enum": { + "com.cloudflare.api.account.email.domain.delete": { + "name": "com_cloudflare_api_account_email_domain_delete" + } + } + } + }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/email_email_domain" + }, + "400": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "403": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "404": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "409": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "500": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "503": { + "$ref": "#/$defs/email_email_domain_error_response" + } + }, + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_error_response": email_email_domain_error_response_output, + "email_email_domain_error_response_errorsItem": email_email_domain_error_response_errorsItem_output, + "email_email_domain_error_response_messagesItem": email_email_domain_error_response_messagesItem_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/email/domains/${pathParam(args, "email_domain_id")}`, + }), + }, + { + name: "email_domains_get", + title: "Get an Email Domain", + description: "Returns domain status and its four assigned DNS records. Shared provider health is reported by the capability states rather than duplicated on each DNS record. Expired unclaimed candidates and completed deletions return 404. Available only to the configured OpenAI pilot account behind a default-off gate. Authentication failures may use the gateway error envelope.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Identifier.", + "type": "string" + }, + "email_domain_id": { + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "email_domain_id" + ], + }, + outputSchema: { + "$ref": "#/$defs/email_email_domain", + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get an Email Domain" + }, + method: "GET", + path: "/accounts/{account_id}/email/domains/{email_domain_id}", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.email.domain.read" + ], + "x-fern-enum": { + "com.cloudflare.api.account.email.domain.read": { + "name": "com_cloudflare_api_account_email_domain_read" + } + } + } + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/email_email_domain" + }, + "400": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "403": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "404": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "500": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "503": { + "$ref": "#/$defs/email_email_domain_error_response" + } + }, + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_error_response": email_email_domain_error_response_output, + "email_email_domain_error_response_errorsItem": email_email_domain_error_response_errorsItem_output, + "email_email_domain_error_response_messagesItem": email_email_domain_error_response_messagesItem_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/email/domains/${pathParam(args, "email_domain_id")}`, + }), + }, + { + name: "email_domains_list", + title: "List Email Domains", + description: "Returns account-scoped domain status. DNS records are omitted unless requested; exact hostname filtering may return several candidates; retain the EmailDomain ID for each enrollment. Available only to the configured OpenAI pilot account behind a default-off gate. Authentication failures may use the gateway error envelope.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Identifier.", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor returned by the previous page. Omit it for the first page.", + "type": "string" + }, + "hostname": { + "description": "Exact hostname filter for recovering an ambiguous create response.", + "type": "string" + }, + "include": { + "description": "Include DNS instructions on each list result.", + "enum": [ + "dns_records" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + required: [ + "account_id" + ], + }, + outputSchema: { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_email_domain" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/email_email_domain_collection_response_result_info" + } + }, + "required": [ + "result" + ], + "type": "object", + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_collection_response_result_info": email_email_domain_collection_response_result_info_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "List Email Domains" + }, + method: "GET", + path: "/accounts/{account_id}/email/domains", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.email.domain.list" + ], + "x-fern-enum": { + "com.cloudflare.api.account.email.domain.list": { + "name": "com_cloudflare_api_account_email_domain_list" + } + } + } + }, + responses: { + schemas: { + "200": { + "properties": { + "result": { + "items": { + "$ref": "#/$defs/email_email_domain" + }, + "type": "array" + }, + "result_info": { + "$ref": "#/$defs/email_email_domain_collection_response_result_info" + } + }, + "required": [ + "result" + ], + "type": "object" + }, + "400": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "403": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "404": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "500": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "503": { + "$ref": "#/$defs/email_email_domain_error_response" + } + }, + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_collection_response_result_info": email_email_domain_collection_response_result_info_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_error_response": email_email_domain_error_response_output, + "email_email_domain_error_response_errorsItem": email_email_domain_error_response_errorsItem_output, + "email_email_domain_error_response_messagesItem": email_email_domain_error_response_messagesItem_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/email/domains`, + query: [ + ["per_page", args["per_page"], false], + ["cursor", args["cursor"], false], + ["hostname", args["hostname"], false], + ["include", args["include"], false], + ], + }), + }, + { + name: "email_domains_verify", + title: "Verify an Email Domain", + description: "Requires an empty body. Schedules an expedited check and coalesces queued or leased work. It does not accept verification results, bypass activation gates, or perform customer DNS checks synchronously. Follow the Location header after Retry-After seconds until verification.observed_at appears or advances beyond the value in this 202 response; status may remain unchanged. Candidate expiry returns 404. Available only to the configured OpenAI pilot account behind a default-off gate. Authentication failures may use the gateway error envelope.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Identifier.", + "type": "string" + }, + "email_domain_id": { + "format": "uuid", + "type": "string" + } + }, + required: [ + "account_id", + "email_domain_id" + ], + }, + outputSchema: { + "$ref": "#/$defs/email_email_domain", + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Verify an Email Domain" + }, + method: "POST", + path: "/accounts/{account_id}/email/domains/{email_domain_id}/verify", + extensions: { + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.email.domain.update" + ], + "x-fern-enum": { + "com.cloudflare.api.account.email.domain.update": { + "name": "com_cloudflare_api_account_email_domain_update" + } + } + } + }, + responses: { + schemas: { + "202": { + "$ref": "#/$defs/email_email_domain" + }, + "400": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "403": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "404": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "409": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "429": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "500": { + "$ref": "#/$defs/email_email_domain_error_response" + }, + "503": { + "$ref": "#/$defs/email_email_domain_error_response" + } + }, + $defs: { + "email_email_domain": email_email_domain_output, + "email_email_domain_capability": email_email_domain_capability_output, + "email_email_domain_dns_record": email_email_domain_dns_record_output, + "email_email_domain_error_response": email_email_domain_error_response_output, + "email_email_domain_error_response_errorsItem": email_email_domain_error_response_errorsItem_output, + "email_email_domain_error_response_messagesItem": email_email_domain_error_response_messagesItem_output, + "email_email_domain_verification": email_email_domain_verification_output, + "email_identifier": email_identifier_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/email/domains/${pathParam(args, "email_domain_id")}/verify`, + }), + }, +]; diff --git a/src/generated/forge-mcp/emailRouting/rules/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/outputs.ts index 4749e93f..8112b6e6 100644 --- a/src/generated/forge-mcp/emailRouting/rules/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/rules/outputs.ts @@ -141,13 +141,6 @@ export const email_account_rules_plan_zone_output: JsonSchema = { "type": "object" }; -/** - * The schema of `email_identifier` in responses. - */ -export const email_identifier_output: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_rule_action` in responses. */ diff --git a/src/generated/forge-mcp/emailRouting/rules/tools.ts b/src/generated/forge-mcp/emailRouting/rules/tools.ts index 4cafcea7..e3f058bd 100644 --- a/src/generated/forge-mcp/emailRouting/rules/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/tools.ts @@ -2,6 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; +import { email_identifier_output } from "../../outputs.js"; import { email_account_rule_output, email_account_rule_zone_output, @@ -9,7 +10,6 @@ import { email_account_rules_plan_output, email_account_rules_plan_remote_rule_output, email_account_rules_plan_zone_output, - email_identifier_output, email_rule_action_output, email_rule_actions_output, email_rule_enabled_output, diff --git a/src/generated/forge-mcp/emailSending/tools.ts b/src/generated/forge-mcp/emailSending/tools.ts index 5ac30ca3..2f8f3358 100644 --- a/src/generated/forge-mcp/emailSending/tools.ts +++ b/src/generated/forge-mcp/emailSending/tools.ts @@ -238,7 +238,8 @@ export const tools: readonly Tool[] = [ "message": { "enum": [ "email.sending.error.email.sending_disabled", - "email.sending.error.email.sender_not_configured" + "email.sending.error.email.sender_not_configured", + "email.sending.error.email.account_suspended" ], "type": "string" } @@ -584,7 +585,8 @@ export const tools: readonly Tool[] = [ "message": { "enum": [ "email.sending.error.email.sending_disabled", - "email.sending.error.email.sender_not_configured" + "email.sending.error.email.sender_not_configured", + "email.sending.error.email.account_suspended" ], "type": "string" } diff --git a/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts b/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts index 9e33eaf2..c93659e2 100644 --- a/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts @@ -3,6 +3,49 @@ import type { JsonSchema } from "../../../_/tool.js"; +/** + * The schema of `flagship_EvaluationRule` in responses. + */ +export const flagship_EvaluationRule_output: JsonSchema = { + "properties": { + "conditions": { + "items": { + "$ref": "#/$defs/flagship_Condition" + }, + "type": "array" + }, + "rollout": { + "$ref": "#/$defs/flagship_EvaluationRule_rollout" + }, + "serve_variation": { + "type": "string" + } + }, + "required": [ + "conditions", + "serve_variation" + ], + "type": "object" +}; + +/** + * The schema of `flagship_EvaluationRule_rollout` in responses. + */ +export const flagship_EvaluationRule_rollout_output: JsonSchema = { + "properties": { + "attribute": { + "type": "string" + }, + "percentage": { + "type": "number" + } + }, + "required": [ + "percentage" + ], + "type": "object" +}; + /** * The schema of `flagship_FlagDefinitions` in responses. */ @@ -20,386 +63,25 @@ export const flagship_FlagDefinitions_output: JsonSchema = { "key": { "type": "string" }, - "rules": { - "items": { - "properties": { - "conditions": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "$ref": "#/$defs/flagship_JsonValue" - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "rollout": { - "properties": { - "attribute": { - "type": "string" - }, - "percentage": { - "type": "number" - } - }, - "required": [ - "percentage" - ], - "type": "object" + "metadata": { + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" }, - "serve_variation": { + { "type": "string" + }, + { + "type": "number" } - }, - "required": [ - "conditions", - "serve_variation" - ], - "type": "object" + ] + }, + "type": "object" + }, + "rules": { + "items": { + "$ref": "#/$defs/flagship_EvaluationRule" }, "type": "array" }, diff --git a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts index bc5a3210..e0af81d6 100644 --- a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts @@ -2,8 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { flagship_JsonValue_output } from "../outputs.js"; -import { flagship_FlagDefinitions_output } from "./outputs.js"; +import { + flagship_BaseCondition_output, + flagship_Condition1_output, + flagship_Condition2_output, + flagship_Condition3_output, + flagship_Condition4_output, + flagship_Condition_output, + flagship_JsonValue_output, + flagship_LogicalCondition1_output, + flagship_LogicalCondition2_output, + flagship_LogicalCondition3_output, + flagship_LogicalCondition4_output, + flagship_LogicalCondition_output, +} from "../outputs.js"; +import { + flagship_EvaluationRule_output, + flagship_EvaluationRule_rollout_output, + flagship_FlagDefinitions_output, +} from "./outputs.js"; /** * The tools of `flagship.apps.definitions`. @@ -37,8 +54,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/flagship_FlagDefinitions", $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, + "flagship_EvaluationRule": flagship_EvaluationRule_output, + "flagship_EvaluationRule_rollout": flagship_EvaluationRule_rollout_output, "flagship_FlagDefinitions": flagship_FlagDefinitions_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, }, }, annotations: { @@ -170,8 +200,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, + "flagship_EvaluationRule": flagship_EvaluationRule_output, + "flagship_EvaluationRule_rollout": flagship_EvaluationRule_rollout_output, "flagship_FlagDefinitions": flagship_FlagDefinitions_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts index 33559717..9fae53e8 100644 --- a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts @@ -5,6 +5,7 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { flagship_ApiMessage_output, flagship_Error_output, + flagship_EvaluationError_output, flagship_EvaluationResult_output, flagship_JsonValue_output, } from "../outputs.js"; @@ -88,7 +89,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/flagship_EvaluationResult" }, "400": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" }, "401": { "$ref": "#/$defs/flagship_Error" @@ -97,18 +98,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/flagship_Error" }, "404": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" }, "500": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" }, "503": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" } }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, "flagship_Error": flagship_Error_output, + "flagship_EvaluationError": flagship_EvaluationError_output, "flagship_EvaluationResult": flagship_EvaluationResult_output, "flagship_JsonValue": flagship_JsonValue_output, }, diff --git a/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts b/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts index 923798fa..d11f91e9 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts @@ -4,14 +4,25 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { flagship_ApiMessage_output, + flagship_BaseCondition_output, + flagship_Condition1_output, + flagship_Condition2_output, + flagship_Condition3_output, + flagship_Condition4_output, + flagship_Condition_output, flagship_Error_output, flagship_JsonValue_output, + flagship_LogicalCondition1_output, + flagship_LogicalCondition2_output, + flagship_LogicalCondition3_output, + flagship_LogicalCondition4_output, + flagship_LogicalCondition_output, } from "../../outputs.js"; import { flagship_Flag_output, - flagship_Flag_rulesItem_output, - flagship_Flag_rulesItem_rollout_output, flagship_ResultInfo_output, + flagship_Rule_output, + flagship_Rule_rollout_output, } from "../outputs.js"; import { flagship_ChangelogEntry_output, @@ -70,13 +81,24 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, "flagship_ChangelogEntry": flagship_ChangelogEntry_output, "flagship_ChangelogPage": flagship_ChangelogPage_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, "flagship_ResultInfo": flagship_ResultInfo_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, annotations: { @@ -147,14 +169,25 @@ export const tools: readonly Tool[] = [ }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_BaseCondition": flagship_BaseCondition_output, "flagship_ChangelogEntry": flagship_ChangelogEntry_output, "flagship_ChangelogPage": flagship_ChangelogPage_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Error": flagship_Error_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, "flagship_ResultInfo": flagship_ResultInfo_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/flagship/apps/flags/outputs.ts b/src/generated/forge-mcp/flagship/apps/flags/outputs.ts index c1f0a38a..516005ae 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/outputs.ts @@ -42,9 +42,25 @@ export const flagship_Flag_output: JsonSchema = { "key": { "type": "string" }, + "metadata": { + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "object" + }, "rules": { "items": { - "$ref": "#/$defs/flagship_Flag_rulesItem" + "$ref": "#/$defs/flagship_Rule" }, "type": "array" }, @@ -82,361 +98,49 @@ export const flagship_Flag_output: JsonSchema = { }; /** - * The schema of `flagship_Flag_rulesItem` in responses. + * The schema of `flagship_FlagsPage` in responses. + */ +export const flagship_FlagsPage_output: JsonSchema = { + "items": { + "$ref": "#/$defs/flagship_Flag" + }, + "type": "array" +}; + +/** + * The schema of `flagship_ResultInfo` in responses. + */ +export const flagship_ResultInfo_output: JsonSchema = { + "properties": { + "count": { + "type": "integer" + }, + "cursor": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "count", + "cursor" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Rule` in responses. */ -export const flagship_Flag_rulesItem_output: JsonSchema = { +export const flagship_Rule_output: JsonSchema = { "properties": { "conditions": { "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "$ref": "#/$defs/flagship_JsonValue" - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] + "$ref": "#/$defs/flagship_Condition" }, "type": "array" }, @@ -444,7 +148,7 @@ export const flagship_Flag_rulesItem_output: JsonSchema = { "type": "integer" }, "rollout": { - "$ref": "#/$defs/flagship_Flag_rulesItem_rollout" + "$ref": "#/$defs/flagship_Rule_rollout" }, "serve_variation": { "type": "string" @@ -459,9 +163,9 @@ export const flagship_Flag_rulesItem_output: JsonSchema = { }; /** - * The schema of `flagship_Flag_rulesItem_rollout` in responses. + * The schema of `flagship_Rule_rollout` in responses. */ -export const flagship_Flag_rulesItem_rollout_output: JsonSchema = { +export const flagship_Rule_rollout_output: JsonSchema = { "properties": { "attribute": { "type": "string" @@ -475,39 +179,3 @@ export const flagship_Flag_rulesItem_rollout_output: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `flagship_FlagsPage` in responses. - */ -export const flagship_FlagsPage_output: JsonSchema = { - "items": { - "$ref": "#/$defs/flagship_Flag" - }, - "type": "array" -}; - -/** - * The schema of `flagship_ResultInfo` in responses. - */ -export const flagship_ResultInfo_output: JsonSchema = { - "properties": { - "count": { - "type": "integer" - }, - "cursor": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - } - }, - "required": [ - "count", - "cursor" - ], - "type": "object" -}; diff --git a/src/generated/forge-mcp/flagship/apps/flags/schemas.ts b/src/generated/forge-mcp/flagship/apps/flags/schemas.ts new file mode 100644 index 00000000..602d3b39 --- /dev/null +++ b/src/generated/forge-mcp/flagship/apps/flags/schemas.ts @@ -0,0 +1,56 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `flagship_Rule`. + */ +export const flagship_Rule: JsonSchema = { + "properties": { + "conditions": { + "description": "Conditions the context must satisfy for this rule to match. An empty array matches all contexts.", + "items": { + "$ref": "#/$defs/flagship_Condition" + }, + "type": "array" + }, + "priority": { + "description": "Evaluation order: the API evaluates rules with lower numbers first. Must be unique across the flag's rules.", + "type": "integer" + }, + "rollout": { + "$ref": "#/$defs/flagship_Rule_rollout" + }, + "serve_variation": { + "description": "Variation the API serves when this rule matches. Must be a key in `variations`.", + "type": "string" + } + }, + "required": [ + "conditions", + "priority", + "serve_variation" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Rule_rollout`. + */ +export const flagship_Rule_rollout: JsonSchema = { + "properties": { + "attribute": { + "description": "Context attribute used for sticky bucketing. Defaults to `targetingKey`. If absent at evaluation time, bucketing is random per request.", + "type": "string" + }, + "percentage": { + "description": "Percentage of matching traffic (0–100, up to 2 decimal places) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).", + "type": "number" + } + }, + "required": [ + "percentage" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/flagship/apps/flags/tools.ts b/src/generated/forge-mcp/flagship/apps/flags/tools.ts index 97ecae82..f2159e16 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/tools.ts @@ -4,19 +4,45 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { flagship_ApiMessage_output, + flagship_BaseCondition_output, + flagship_Condition1_output, + flagship_Condition2_output, + flagship_Condition3_output, + flagship_Condition4_output, + flagship_Condition_output, flagship_Error_output, + flagship_EvaluationError_output, flagship_EvaluationResult_output, flagship_JsonValue_output, + flagship_LogicalCondition1_output, + flagship_LogicalCondition2_output, + flagship_LogicalCondition3_output, + flagship_LogicalCondition4_output, + flagship_LogicalCondition_output, } from "../outputs.js"; -import { flagship_JsonValue } from "../schemas.js"; +import { + flagship_BaseCondition, + flagship_Condition, + flagship_Condition1, + flagship_Condition2, + flagship_Condition3, + flagship_Condition4, + flagship_JsonValue, + flagship_LogicalCondition, + flagship_LogicalCondition1, + flagship_LogicalCondition2, + flagship_LogicalCondition3, + flagship_LogicalCondition4, +} from "../schemas.js"; import { flagship_DeleteFlagResult_output, flagship_Flag_output, - flagship_Flag_rulesItem_output, - flagship_Flag_rulesItem_rollout_output, flagship_FlagsPage_output, flagship_ResultInfo_output, + flagship_Rule_output, + flagship_Rule_rollout_output, } from "./outputs.js"; +import { flagship_Rule, flagship_Rule_rollout } from "./schemas.js"; /** * The tools of `flagship.apps.flags`. @@ -25,7 +51,7 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_create", title: "Create flag", - description: "Creates a flag. Returns 409 if the key already exists. `type` is always inferred from variation values; legacy request-side values are ignored.\n\nThis method is beta.", + description: "Creates a flag. Returns 409 if the key already exists. `type` is always inferred from variation values; legacy request-side values are ignored. Optional `metadata` can be attached at creation.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -62,396 +88,34 @@ export const tools: readonly Tool[] = [ "description": "Unique identifier for the flag within an app. Used in all evaluation and SDK calls.", "type": "string" }, - "rules": { - "description": "Targeting rules evaluated in ascending `priority`; the first matching rule wins. An empty array means the flag always serves `default_variation`.", - "items": { - "properties": { - "conditions": { - "description": "Conditions the context must satisfy for this rule to match. An empty array matches all contexts.", - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "$ref": "#/$defs/flagship_JsonValue" - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "priority": { - "description": "Evaluation order: the API evaluates rules with lower numbers first. Must be unique across the flag's rules.", - "type": "integer" - }, - "rollout": { - "properties": { - "attribute": { - "description": "Context attribute used for sticky bucketing. Defaults to `targetingKey`. If absent at evaluation time, bucketing is random per request.", + "metadata": { + "description": "Key-value metadata associated with the flag. `null` or an empty object clears existing metadata; omission semantics depend on the endpoint (PUT clears it, PATCH preserves it).", + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" + }, + { "type": "string" }, - "percentage": { - "description": "Percentage of matching traffic (0–100, up to 2 decimal places) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).", + { "type": "number" } - }, - "required": [ - "percentage" - ], - "type": "object" + ] }, - "serve_variation": { - "description": "Variation the API serves when this rule matches. Must be a key in `variations`.", - "type": "string" - } + "type": "object" }, - "required": [ - "conditions", - "priority", - "serve_variation" - ], - "type": "object" + { + "type": "null" + } + ] + }, + "rules": { + "description": "Targeting rules evaluated in ascending `priority`; the first matching rule wins. An empty array means the flag always serves `default_variation`.", + "items": { + "$ref": "#/$defs/flagship_Rule" }, "type": "array" }, @@ -490,16 +154,40 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { + "flagship_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, "flagship_JsonValue": flagship_JsonValue, + "flagship_LogicalCondition": flagship_LogicalCondition, + "flagship_LogicalCondition1": flagship_LogicalCondition1, + "flagship_LogicalCondition2": flagship_LogicalCondition2, + "flagship_LogicalCondition3": flagship_LogicalCondition3, + "flagship_LogicalCondition4": flagship_LogicalCondition4, + "flagship_Rule": flagship_Rule, + "flagship_Rule_rollout": flagship_Rule_rollout, }, }, outputSchema: { "$ref": "#/$defs/flagship_Flag", $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, annotations: { @@ -558,11 +246,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Error": flagship_Error_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, request: (args) => ({ @@ -688,7 +387,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/flagship_JsonValue" }, "default": {}, - "description": "Evaluation attributes keyed by name. Values may be any JSON value; the context supports up to 100 entries and 32 KB.", + "description": "Evaluation attributes keyed by name. Values may be any JSON value; the context supports up to 100 entries, nesting depth of 10, 10,000 values, and 32 KB.", "type": "object" }, "flagKey": { @@ -756,7 +455,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/flagship_EvaluationResult" }, "400": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" }, "401": { "$ref": "#/$defs/flagship_Error" @@ -765,18 +464,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/flagship_Error" }, "404": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" }, "500": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" }, "503": { - "$ref": "#/$defs/flagship_Error" + "$ref": "#/$defs/flagship_EvaluationError" } }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, "flagship_Error": flagship_Error_output, + "flagship_EvaluationError": flagship_EvaluationError_output, "flagship_EvaluationResult": flagship_EvaluationResult_output, "flagship_JsonValue": flagship_JsonValue_output, }, @@ -789,7 +489,7 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_get", title: "Get flag", - description: "Returns the full flag definition including rules, variations, and audit fields.\n\nThis method is beta.", + description: "Returns the full flag definition including rules, variations, metadata, and audit fields.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -815,10 +515,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/flagship_Flag", $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, annotations: { @@ -878,11 +589,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Error": flagship_Error_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, request: (args) => ({ @@ -932,12 +654,23 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_FlagsPage": flagship_FlagsPage_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, "flagship_ResultInfo": flagship_ResultInfo_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, annotations: { @@ -1008,13 +741,24 @@ export const tools: readonly Tool[] = [ }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Error": flagship_Error_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_FlagsPage": flagship_FlagsPage_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, "flagship_ResultInfo": flagship_ResultInfo_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, request: (args) => ({ @@ -1025,10 +769,184 @@ export const tools: readonly Tool[] = [ ], }), }, + { + name: "flagship_apps_flags_patch", + title: "Partially update flag", + description: "Applies a partial update to lightweight flag fields: `enabled`, `description`, `metadata`, and `default_variation`. Only fields present in the request body are modified; omitted fields are preserved. `metadata: null` or an empty object clears metadata. `default_variation` must exist in the current `variations`. Structural changes to `variations` and `rules` use PUT. A changelog entry is appended when the flag content actually changes.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Cloudflare account ID that owns the Flagship app.", + "type": "string" + }, + "app_id": { + "description": "Flagship app ID returned when the app was created.", + "type": "string" + }, + "body": { + "properties": { + "default_variation": { + "description": "Variation the API serves when the flag is off, or when it's on but no rule matches the context. Must be a key in `variations`.", + "type": "string" + }, + "description": { + "description": "Optional operator-facing description. It does not affect flag evaluation.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "enabled": { + "description": "When false, the flag bypasses all rules and always serves `default_variation`.", + "type": "boolean" + }, + "metadata": { + "description": "Key-value metadata associated with the flag. `null` or an empty object clears existing metadata; omission semantics depend on the endpoint (PUT clears it, PATCH preserves it).", + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "object" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "flag_key": { + "description": "Case-sensitive key identifying the flag within the app.", + "type": "string" + } + }, + required: [ + "account_id", + "app_id", + "flag_key", + "body" + ], + }, + outputSchema: { + "$ref": "#/$defs/flagship_Flag", + $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, + "flagship_Flag": flagship_Flag_output, + "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Partially update flag" + }, + method: "PATCH", + path: "/accounts/{account_id}/flagship/apps/{app_id}/flags/{flag_key}", + extensions: { + "x-api-token-group": [ + "Flagship Write" + ], + "x-cfPermissionsRequired": { + "enum": [ + "com.cloudflare.api.account.flagship.app.update" + ], + "x-fern-enum": { + "com.cloudflare.api.account.flagship.app.update": { + "name": "com_cloudflare_api_account_flagship_app_update" + } + } + }, + "x-cfPlanAvailability": { + "business": true, + "enterprise": true, + "free": true, + "pro": true + } + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/flagship_Flag" + }, + "400": { + "$ref": "#/$defs/flagship_Error" + }, + "401": { + "$ref": "#/$defs/flagship_Error" + }, + "403": { + "$ref": "#/$defs/flagship_Error" + }, + "404": { + "$ref": "#/$defs/flagship_Error" + }, + "429": { + "$ref": "#/$defs/flagship_Error" + }, + "500": { + "$ref": "#/$defs/flagship_Error" + } + }, + $defs: { + "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, + "flagship_Error": flagship_Error_output, + "flagship_Flag": flagship_Flag_output, + "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags/${pathParam(args, "flag_key")}`, + body: { value: args["body"], mediaType: "application/json" }, + }), + }, { name: "flagship_apps_flags_update", title: "Update flag", - description: "Replaces the entire flag definition. Omitted fields are dropped, not preserved — read before writing. The path key identifies the flag and cannot be renamed by changing the body `key`. Each update appends a changelog entry.\n\nThis method is beta.", + description: "Replaces the entire flag definition. Omitted fields are cleared, not preserved — read before writing. The path key identifies the flag and cannot be renamed by changing the body `key`. A changelog entry is appended when the flag content actually changes; identical updates are no-ops.\n\nThis method is beta.", inputSchema: { type: "object", properties: { @@ -1065,396 +983,34 @@ export const tools: readonly Tool[] = [ "description": "Unique identifier for the flag within an app. Used in all evaluation and SDK calls.", "type": "string" }, - "rules": { - "description": "Targeting rules evaluated in ascending `priority`; the first matching rule wins. An empty array means the flag always serves `default_variation`.", - "items": { - "properties": { - "conditions": { - "description": "Conditions the context must satisfy for this rule to match. An empty array matches all contexts.", - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "anyOf": [ - { - "properties": { - "attribute": { - "type": "string" - }, - "operator": { - "enum": [ - "equals", - "not_equals", - "greater_than", - "less_than", - "greater_than_or_equals", - "less_than_or_equals", - "contains", - "starts_with", - "ends_with", - "in", - "not_in", - "has", - "not_has" - ], - "type": "string" - }, - "value": { - "$ref": "#/$defs/flagship_JsonValue" - } - }, - "required": [ - "attribute", - "operator", - "value" - ], - "type": "object" - }, - { - "properties": { - "clauses": { - "items": { - "$ref": "#/$defs/flagship_JsonValue" - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "minItems": 1, - "type": "array" - }, - "logical_operator": { - "enum": [ - "AND", - "OR" - ], - "type": "string" - } - }, - "required": [ - "clauses", - "logical_operator" - ], - "type": "object" - } - ] - }, - "type": "array" - }, - "priority": { - "description": "Evaluation order: the API evaluates rules with lower numbers first. Must be unique across the flag's rules.", - "type": "integer" - }, - "rollout": { - "properties": { - "attribute": { - "description": "Context attribute used for sticky bucketing. Defaults to `targetingKey`. If absent at evaluation time, bucketing is random per request.", + "metadata": { + "description": "Key-value metadata associated with the flag. `null` or an empty object clears existing metadata; omission semantics depend on the endpoint (PUT clears it, PATCH preserves it).", + "oneOf": [ + { + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" + }, + { "type": "string" }, - "percentage": { - "description": "Percentage of matching traffic (0–100, up to 2 decimal places) served this variation. For multi-way splits, use cumulative upper bounds across rules (e.g. 30, 70, 100).", + { "type": "number" } - }, - "required": [ - "percentage" - ], - "type": "object" + ] }, - "serve_variation": { - "description": "Variation the API serves when this rule matches. Must be a key in `variations`.", - "type": "string" - } + "type": "object" }, - "required": [ - "conditions", - "priority", - "serve_variation" - ], - "type": "object" + { + "type": "null" + } + ] + }, + "rules": { + "description": "Targeting rules evaluated in ascending `priority`; the first matching rule wins. An empty array means the flag always serves `default_variation`.", + "items": { + "$ref": "#/$defs/flagship_Rule" }, "type": "array" }, @@ -1498,16 +1054,40 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { + "flagship_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, "flagship_JsonValue": flagship_JsonValue, + "flagship_LogicalCondition": flagship_LogicalCondition, + "flagship_LogicalCondition1": flagship_LogicalCondition1, + "flagship_LogicalCondition2": flagship_LogicalCondition2, + "flagship_LogicalCondition3": flagship_LogicalCondition3, + "flagship_LogicalCondition4": flagship_LogicalCondition4, + "flagship_Rule": flagship_Rule, + "flagship_Rule_rollout": flagship_Rule_rollout, }, }, outputSchema: { "$ref": "#/$defs/flagship_Flag", $defs: { + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, annotations: { @@ -1566,11 +1146,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "flagship_ApiMessage": flagship_ApiMessage_output, + "flagship_BaseCondition": flagship_BaseCondition_output, + "flagship_Condition": flagship_Condition_output, + "flagship_Condition1": flagship_Condition1_output, + "flagship_Condition2": flagship_Condition2_output, + "flagship_Condition3": flagship_Condition3_output, + "flagship_Condition4": flagship_Condition4_output, "flagship_Error": flagship_Error_output, "flagship_Flag": flagship_Flag_output, - "flagship_Flag_rulesItem": flagship_Flag_rulesItem_output, - "flagship_Flag_rulesItem_rollout": flagship_Flag_rulesItem_rollout_output, "flagship_JsonValue": flagship_JsonValue_output, + "flagship_LogicalCondition": flagship_LogicalCondition_output, + "flagship_LogicalCondition1": flagship_LogicalCondition1_output, + "flagship_LogicalCondition2": flagship_LogicalCondition2_output, + "flagship_LogicalCondition3": flagship_LogicalCondition3_output, + "flagship_LogicalCondition4": flagship_LogicalCondition4_output, + "flagship_Rule": flagship_Rule_output, + "flagship_Rule_rollout": flagship_Rule_rollout_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/flagship/apps/outputs.ts b/src/generated/forge-mcp/flagship/apps/outputs.ts index e653ca1f..7149e746 100644 --- a/src/generated/forge-mcp/flagship/apps/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/outputs.ts @@ -49,6 +49,114 @@ export const flagship_App_output: JsonSchema = { "type": "object" }; +/** + * The schema of `flagship_BaseCondition` in responses. + */ +export const flagship_BaseCondition_output: JsonSchema = { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Condition` in responses. + */ +export const flagship_Condition_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition" + } + ] +}; + +/** + * The schema of `flagship_Condition1` in responses. + */ +export const flagship_Condition1_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition1" + } + ] +}; + +/** + * The schema of `flagship_Condition2` in responses. + */ +export const flagship_Condition2_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition2" + } + ] +}; + +/** + * The schema of `flagship_Condition3` in responses. + */ +export const flagship_Condition3_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition3" + } + ] +}; + +/** + * The schema of `flagship_Condition4` in responses. + */ +export const flagship_Condition4_output: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition4" + } + ] +}; + /** * The schema of `flagship_DeleteAppResult` in responses. */ @@ -97,6 +205,52 @@ export const flagship_Error_output: JsonSchema = { "type": "object" }; +/** + * The schema of `flagship_EvaluationError` in responses. + */ +export const flagship_EvaluationError_output: JsonSchema = { + "properties": { + "errorCode": { + "enum": [ + "PROVIDER_NOT_READY", + "FLAG_NOT_FOUND", + "PARSE_ERROR", + "TYPE_MISMATCH", + "TARGETING_KEY_MISSING", + "INVALID_CONTEXT", + "GENERAL" + ], + "type": "string" + }, + "errors": { + "items": { + "$ref": "#/$defs/flagship_ApiMessage" + }, + "type": "array" + }, + "messages": { + "items": { + "$ref": "#/$defs/flagship_ApiMessage" + }, + "type": "array" + }, + "result": { + "type": "null" + }, + "success": { + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "result", + "success", + "errorCode" + ], + "type": "object" +}; + /** * The schema of `flagship_EvaluationResult` in responses. */ @@ -105,6 +259,22 @@ export const flagship_EvaluationResult_output: JsonSchema = { "flagKey": { "type": "string" }, + "metadata": { + "additionalProperties": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "type": "object" + }, "reason": { "enum": [ "STATIC", @@ -161,3 +331,138 @@ export const flagship_JsonValue_output: JsonSchema = { } ] }; + +/** + * The schema of `flagship_LogicalCondition` in responses. + */ +export const flagship_LogicalCondition_output: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition1" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition1` in responses. + */ +export const flagship_LogicalCondition1_output: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition2" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition2` in responses. + */ +export const flagship_LogicalCondition2_output: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition3" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition3` in responses. + */ +export const flagship_LogicalCondition3_output: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition4" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition4` in responses. + */ +export const flagship_LogicalCondition4_output: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_BaseCondition" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/flagship/apps/schemas.ts b/src/generated/forge-mcp/flagship/apps/schemas.ts index 1d8eba20..4878b531 100644 --- a/src/generated/forge-mcp/flagship/apps/schemas.ts +++ b/src/generated/forge-mcp/flagship/apps/schemas.ts @@ -3,6 +3,114 @@ import type { JsonSchema } from "../../_/tool.js"; +/** + * The schema of `flagship_BaseCondition`. + */ +export const flagship_BaseCondition: JsonSchema = { + "properties": { + "attribute": { + "type": "string" + }, + "operator": { + "enum": [ + "equals", + "not_equals", + "greater_than", + "less_than", + "greater_than_or_equals", + "less_than_or_equals", + "contains", + "starts_with", + "ends_with", + "in", + "not_in", + "has", + "not_has" + ], + "type": "string" + }, + "value": { + "$ref": "#/$defs/flagship_JsonValue" + } + }, + "required": [ + "attribute", + "operator", + "value" + ], + "type": "object" +}; + +/** + * The schema of `flagship_Condition`. + */ +export const flagship_Condition: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition" + } + ] +}; + +/** + * The schema of `flagship_Condition1`. + */ +export const flagship_Condition1: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition1" + } + ] +}; + +/** + * The schema of `flagship_Condition2`. + */ +export const flagship_Condition2: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition2" + } + ] +}; + +/** + * The schema of `flagship_Condition3`. + */ +export const flagship_Condition3: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition3" + } + ] +}; + +/** + * The schema of `flagship_Condition4`. + */ +export const flagship_Condition4: JsonSchema = { + "anyOf": [ + { + "$ref": "#/$defs/flagship_BaseCondition" + }, + { + "$ref": "#/$defs/flagship_LogicalCondition4" + } + ] +}; + /** * The schema of `flagship_JsonValue`. */ @@ -34,3 +142,138 @@ export const flagship_JsonValue: JsonSchema = { } ] }; + +/** + * The schema of `flagship_LogicalCondition`. + */ +export const flagship_LogicalCondition: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition1" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition1`. + */ +export const flagship_LogicalCondition1: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition2" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition2`. + */ +export const flagship_LogicalCondition2: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition3" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition3`. + */ +export const flagship_LogicalCondition3: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_Condition4" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; + +/** + * The schema of `flagship_LogicalCondition4`. + */ +export const flagship_LogicalCondition4: JsonSchema = { + "properties": { + "clauses": { + "items": { + "$ref": "#/$defs/flagship_BaseCondition" + }, + "minItems": 1, + "type": "array" + }, + "logical_operator": { + "enum": [ + "AND", + "OR" + ], + "type": "string" + } + }, + "required": [ + "clauses", + "logical_operator" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/healthchecks/outputs.ts b/src/generated/forge-mcp/healthchecks/outputs.ts index 92440f4d..2cdd67d7 100644 --- a/src/generated/forge-mcp/healthchecks/outputs.ts +++ b/src/generated/forge-mcp/healthchecks/outputs.ts @@ -231,48 +231,6 @@ export const healthchecks_http_config_output: JsonSchema = { ] }; -/** - * The schema of `healthchecks_id_response` in responses. - */ -export const healthchecks_id_response_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/healthchecks_messages" - }, - "messages": { - "$ref": "#/$defs/healthchecks_messages" - }, - "result": { - "$ref": "#/$defs/healthchecks_id_response_result" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - -/** - * The schema of `healthchecks_id_response_result` in responses. - */ -export const healthchecks_id_response_result_output: JsonSchema = { - "properties": { - "id": { - "$ref": "#/$defs/healthchecks_identifier" - } - }, - "type": "object" -}; - /** * The schema of `healthchecks_identifier` in responses. */ @@ -316,42 +274,6 @@ export const healthchecks_name_output: JsonSchema = { "type": "string" }; -/** - * The schema of `healthchecks_response_collection` in responses. - */ -export const healthchecks_response_collection_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/healthchecks_messages" - }, - "messages": { - "$ref": "#/$defs/healthchecks_messages" - }, - "result": { - "items": { - "$ref": "#/$defs/healthchecks_healthchecks" - }, - "type": "array" - }, - "result_info": { - "$ref": "#/$defs/healthchecks_result_info" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - /** * The schema of `healthchecks_result_info` in responses. */ @@ -380,36 +302,6 @@ export const healthchecks_retries_output: JsonSchema = { "type": "integer" }; -/** - * The schema of `healthchecks_single_response` in responses. - */ -export const healthchecks_single_response_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/healthchecks_messages" - }, - "messages": { - "$ref": "#/$defs/healthchecks_messages" - }, - "result": { - "$ref": "#/$defs/healthchecks_healthchecks" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - /** * The schema of `healthchecks_status` in responses. */ diff --git a/src/generated/forge-mcp/healthchecks/previews/tools.ts b/src/generated/forge-mcp/healthchecks/previews/tools.ts index 7ebe7c3d..5ae3ce77 100644 --- a/src/generated/forge-mcp/healthchecks/previews/tools.ts +++ b/src/generated/forge-mcp/healthchecks/previews/tools.ts @@ -12,14 +12,11 @@ import { healthchecks_failure_reason_output, healthchecks_healthchecks_output, healthchecks_http_config_output, - healthchecks_id_response_output, - healthchecks_id_response_result_output, healthchecks_identifier_output, healthchecks_interval_output, healthchecks_messages_output, healthchecks_name_output, healthchecks_retries_output, - healthchecks_single_response_output, healthchecks_status_output, healthchecks_suspended_output, healthchecks_tcp_config_output, @@ -133,14 +130,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_single_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -158,7 +148,6 @@ export const tools: readonly Tool[] = [ "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, "healthchecks_retries": healthchecks_retries_output, - "healthchecks_single_response": healthchecks_single_response_output, "healthchecks_status": healthchecks_status_output, "healthchecks_suspended": healthchecks_suspended_output, "healthchecks_tcp_config": healthchecks_tcp_config_output, @@ -235,20 +224,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_id_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_id_response": healthchecks_id_response_output, - "healthchecks_id_response_result": healthchecks_id_response_result_output, "healthchecks_identifier": healthchecks_identifier_output, "healthchecks_messages": healthchecks_messages_output, }, @@ -328,14 +308,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_single_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -353,7 +326,6 @@ export const tools: readonly Tool[] = [ "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, "healthchecks_retries": healthchecks_retries_output, - "healthchecks_single_response": healthchecks_single_response_output, "healthchecks_status": healthchecks_status_output, "healthchecks_suspended": healthchecks_suspended_output, "healthchecks_tcp_config": healthchecks_tcp_config_output, diff --git a/src/generated/forge-mcp/healthchecks/tools.ts b/src/generated/forge-mcp/healthchecks/tools.ts index b404d8e4..3acdacd9 100644 --- a/src/generated/forge-mcp/healthchecks/tools.ts +++ b/src/generated/forge-mcp/healthchecks/tools.ts @@ -12,16 +12,12 @@ import { healthchecks_failure_reason_output, healthchecks_healthchecks_output, healthchecks_http_config_output, - healthchecks_id_response_output, - healthchecks_id_response_result_output, healthchecks_identifier_output, healthchecks_interval_output, healthchecks_messages_output, healthchecks_name_output, - healthchecks_response_collection_output, healthchecks_result_info_output, healthchecks_retries_output, - healthchecks_single_response_output, healthchecks_status_output, healthchecks_suspended_output, healthchecks_tcp_config_output, @@ -135,14 +131,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_single_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -160,7 +149,6 @@ export const tools: readonly Tool[] = [ "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, "healthchecks_retries": healthchecks_retries_output, - "healthchecks_single_response": healthchecks_single_response_output, "healthchecks_status": healthchecks_status_output, "healthchecks_suspended": healthchecks_suspended_output, "healthchecks_tcp_config": healthchecks_tcp_config_output, @@ -237,20 +225,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_id_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_id_response": healthchecks_id_response_output, - "healthchecks_id_response_result": healthchecks_id_response_result_output, "healthchecks_identifier": healthchecks_identifier_output, "healthchecks_messages": healthchecks_messages_output, }, @@ -349,14 +328,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_single_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -374,7 +346,6 @@ export const tools: readonly Tool[] = [ "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, "healthchecks_retries": healthchecks_retries_output, - "healthchecks_single_response": healthchecks_single_response_output, "healthchecks_status": healthchecks_status_output, "healthchecks_suspended": healthchecks_suspended_output, "healthchecks_tcp_config": healthchecks_tcp_config_output, @@ -459,14 +430,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_single_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -484,7 +448,6 @@ export const tools: readonly Tool[] = [ "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, "healthchecks_retries": healthchecks_retries_output, - "healthchecks_single_response": healthchecks_single_response_output, "healthchecks_status": healthchecks_status_output, "healthchecks_suspended": healthchecks_suspended_output, "healthchecks_tcp_config": healthchecks_tcp_config_output, @@ -602,14 +565,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_response_collection" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -626,7 +582,6 @@ export const tools: readonly Tool[] = [ "healthchecks_interval": healthchecks_interval_output, "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, - "healthchecks_response_collection": healthchecks_response_collection_output, "healthchecks_result_info": healthchecks_result_info_output, "healthchecks_retries": healthchecks_retries_output, "healthchecks_status": healthchecks_status_output, @@ -735,14 +690,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/healthchecks_single_response" - }, - { - "$ref": "#/$defs/healthchecks_api-response-common-failure" - } - ] + "$ref": "#/$defs/healthchecks_api-response-common-failure" } }, $defs: { @@ -760,7 +708,6 @@ export const tools: readonly Tool[] = [ "healthchecks_messages": healthchecks_messages_output, "healthchecks_name": healthchecks_name_output, "healthchecks_retries": healthchecks_retries_output, - "healthchecks_single_response": healthchecks_single_response_output, "healthchecks_status": healthchecks_status_output, "healthchecks_suspended": healthchecks_suspended_output, "healthchecks_tcp_config": healthchecks_tcp_config_output, diff --git a/src/generated/forge-mcp/index.ts b/src/generated/forge-mcp/index.ts index e3d6f3e5..9882b2e7 100644 --- a/src/generated/forge-mcp/index.ts +++ b/src/generated/forge-mcp/index.ts @@ -72,10 +72,6 @@ import { tools as alerting_historyTools } from "./alerting/history/tools.js"; import { tools as alerting_policies_emailTools } from "./alerting/policies/email/tools.js"; import { tools as alerting_policiesTools } from "./alerting/policies/tools.js"; import { tools as alerting_silencesTools } from "./alerting/silences/tools.js"; -import { tools as alerts_clearTools } from "./alerts/clear/tools.js"; -import { tools as alerts_refuteTools } from "./alerts/refute/tools.js"; -import { tools as alertsTools } from "./alerts/tools.js"; -import { tools as alerts_verifyTools } from "./alerts/verify/tools.js"; import { tools as analytics_latency_colosTools } from "./analytics/latency/colos/tools.js"; import { tools as analytics_latencyTools } from "./analytics/latency/tools.js"; import { tools as analytics_query_dataSecurity_contentFindingsTools } from "./analytics/query/dataSecurity/contentFindings/tools.js"; @@ -131,8 +127,6 @@ import { tools as brandProtection_matchesTools } from "./brandProtection/matches import { tools as brandProtection_queriesTools } from "./brandProtection/queries/tools.js"; import { tools as brandProtectionTools } from "./brandProtection/tools.js"; import { tools as brandProtection_trialTools } from "./brandProtection/trial/tools.js"; -import { tools as brands_patternsTools } from "./brands/patterns/tools.js"; -import { tools as brandsTools } from "./brands/tools.js"; import { tools as browserRun_crawlTools } from "./browserRun/crawl/tools.js"; import { tools as browserRun_devtools_browser_liveViewTools } from "./browserRun/devtools/browser/liveView/tools.js"; import { tools as browserRun_devtools_browser_targetsTools } from "./browserRun/devtools/browser/targets/tools.js"; @@ -154,13 +148,14 @@ import { tools as builds_triggers_environmentVariablesTools } from "./builds/tri import { tools as builds_triggersTools } from "./builds/triggers/tools.js"; import { tools as builds_versionsTools } from "./builds/versions/tools.js"; import { tools as builds_workersTools } from "./builds/workers/tools.js"; +import { tools as cache_originCloudRegions_bulkTools } from "./cache/originCloudRegions/bulk/tools.js"; +import { tools as cache_originCloudRegions_regionsTools } from "./cache/originCloudRegions/regions/tools.js"; import { tools as cache_originCloudRegionsTools } from "./cache/originCloudRegions/tools.js"; import { tools as cache_settings_regionalTieredCacheTools } from "./cache/settings/regionalTieredCache/tools.js"; import { tools as cache_settings_reserveTools } from "./cache/settings/reserve/tools.js"; import { tools as cache_settings_smartTieredCacheTools } from "./cache/settings/smartTieredCache/tools.js"; import { tools as cache_settings_variantsTools } from "./cache/settings/variants/tools.js"; import { tools as cacheTools } from "./cache/tools.js"; -import { tools as clearTools } from "./clear/tools.js"; import { tools as clientSideSecurity_connectionsTools } from "./clientSideSecurity/connections/tools.js"; import { tools as clientSideSecurity_cookiesTools } from "./clientSideSecurity/cookies/tools.js"; import { tools as clientSideSecurity_policiesTools } from "./clientSideSecurity/policies/tools.js"; @@ -170,50 +165,13 @@ import { tools as cloudConnector_rulesTools } from "./cloudConnector/rules/tools import { tools as cloudforceOne_binaryStorageTools } from "./cloudforceOne/binaryStorage/tools.js"; import { tools as cloudforceOne_credentialMonitor_domainsTools } from "./cloudforceOne/credentialMonitor/domains/tools.js"; import { tools as cloudforceOne_credentialMonitor_matchesTools } from "./cloudforceOne/credentialMonitor/matches/tools.js"; -import { tools as cloudforceOne_events_aggregateTools } from "./cloudforceOne/events/aggregate/tools.js"; -import { tools as cloudforceOne_events_categories_catalogTools } from "./cloudforceOne/events/categories/catalog/tools.js"; -import { tools as cloudforceOne_events_categoriesTools } from "./cloudforceOne/events/categories/tools.js"; -import { tools as cloudforceOne_events_dataset_copyTools } from "./cloudforceOne/events/dataset/copy/tools.js"; -import { tools as cloudforceOne_events_dataset_eventsTools } from "./cloudforceOne/events/dataset/events/tools.js"; -import { tools as cloudforceOne_events_dataset_groups_getTools } from "./cloudforceOne/events/dataset/groups/get/tools.js"; -import { tools as cloudforceOne_events_dataset_groups_membersTools } from "./cloudforceOne/events/dataset/groups/members/tools.js"; -import { tools as cloudforceOne_events_dataset_groupsTools } from "./cloudforceOne/events/dataset/groups/tools.js"; -import { tools as cloudforceOne_events_dataset_indicators_bulkTools } from "./cloudforceOne/events/dataset/indicators/bulk/tools.js"; -import { tools as cloudforceOne_events_dataset_indicators_createTools } from "./cloudforceOne/events/dataset/indicators/create/tools.js"; -import { tools as cloudforceOne_events_dataset_indicators_getTools } from "./cloudforceOne/events/dataset/indicators/get/tools.js"; -import { tools as cloudforceOne_events_dataset_indicators_relationshipsTools } from "./cloudforceOne/events/dataset/indicators/relationships/tools.js"; -import { tools as cloudforceOne_events_dataset_indicators_tagsTools } from "./cloudforceOne/events/dataset/indicators/tags/tools.js"; -import { tools as cloudforceOne_events_dataset_indicatorsTools } from "./cloudforceOne/events/dataset/indicators/tools.js"; -import { tools as cloudforceOne_events_dataset_moveTools } from "./cloudforceOne/events/dataset/move/tools.js"; -import { tools as cloudforceOne_events_dataset_permissionsTools } from "./cloudforceOne/events/dataset/permissions/tools.js"; -import { tools as cloudforceOne_events_dataset_tags_indicatorsTools } from "./cloudforceOne/events/dataset/tags/indicators/tools.js"; -import { tools as cloudforceOne_events_dataset_target_industriesTools } from "./cloudforceOne/events/dataset/target/industries/tools.js"; -import { tools as cloudforceOne_events_datasetTools } from "./cloudforceOne/events/dataset/tools.js"; -import { tools as cloudforceOne_events_datasets_populateTools } from "./cloudforceOne/events/datasets/populate/tools.js"; -import { tools as cloudforceOne_events_deleteTools } from "./cloudforceOne/events/delete/tools.js"; -import { tools as cloudforceOne_events_graphql_create_graphTools } from "./cloudforceOne/events/graphql/create/graph/tools.js"; -import { tools as cloudforceOne_events_indicator_typesTools } from "./cloudforceOne/events/indicator/types/tools.js"; -import { tools as cloudforceOne_events_indicatorsTools } from "./cloudforceOne/events/indicators/tools.js"; -import { tools as cloudforceOne_events_queries_getTools } from "./cloudforceOne/events/queries/get/tools.js"; -import { tools as cloudforceOne_events_queriesTools } from "./cloudforceOne/events/queries/tools.js"; -import { tools as cloudforceOne_events_rawTools } from "./cloudforceOne/events/raw/tools.js"; -import { tools as cloudforceOne_events_relate_createTools } from "./cloudforceOne/events/relate/create/tools.js"; -import { tools as cloudforceOne_events_relationships_createTools } from "./cloudforceOne/events/relationships/create/tools.js"; -import { tools as cloudforceOne_events_relationshipsTools } from "./cloudforceOne/events/relationships/tools.js"; -import { tools as cloudforceOne_events_tags_categories_actorsTools } from "./cloudforceOne/events/tags/categories/actors/tools.js"; -import { tools as cloudforceOne_events_tags_categories_createTools } from "./cloudforceOne/events/tags/categories/create/tools.js"; -import { tools as cloudforceOne_events_tags_categoriesTools } from "./cloudforceOne/events/tags/categories/tools.js"; -import { tools as cloudforceOne_events_tags_relationshipsTools } from "./cloudforceOne/events/tags/relationships/tools.js"; -import { tools as cloudforceOne_events_tagsTools } from "./cloudforceOne/events/tags/tools.js"; -import { tools as cloudforceOne_events_target_industries_catalogTools } from "./cloudforceOne/events/target/industries/catalog/tools.js"; -import { tools as cloudforceOne_eventsTools } from "./cloudforceOne/events/tools.js"; -import { tools as cloudforceOne_events_update_bulkTools } from "./cloudforceOne/events/update/bulk/tools.js"; import { tools as cloudforceOne_priorityIntelligence_constantsTools } from "./cloudforceOne/priorityIntelligence/constants/tools.js"; import { tools as cloudforceOne_priorityIntelligence_filtersTools } from "./cloudforceOne/priorityIntelligence/filters/tools.js"; import { tools as cloudforceOne_priorityIntelligence_interests_backtestsTools } from "./cloudforceOne/priorityIntelligence/interests/backtests/tools.js"; import { tools as cloudforceOne_priorityIntelligence_interests_evaluationsTools } from "./cloudforceOne/priorityIntelligence/interests/evaluations/tools.js"; import { tools as cloudforceOne_priorityIntelligence_interestsTools } from "./cloudforceOne/priorityIntelligence/interests/tools.js"; import { tools as cloudforceOne_priorityIntelligence_matchesTools } from "./cloudforceOne/priorityIntelligence/matches/tools.js"; +import { tools as cloudforceOne_priorityIntelligence_profileTools } from "./cloudforceOne/priorityIntelligence/profile/tools.js"; import { tools as cloudforceOne_priorityIntelligence_quotaTools } from "./cloudforceOne/priorityIntelligence/quota/tools.js"; import { tools as cloudforceOne_priorityIntelligenceTools } from "./cloudforceOne/priorityIntelligence/tools.js"; import { tools as cloudforceOne_requests_assetsTools } from "./cloudforceOne/requests/assets/tools.js"; @@ -236,17 +194,35 @@ import { tools as cloudforceOne_rulesTools } from "./cloudforceOne/rules/tools.j import { tools as cloudforceOne_rules_treeTools } from "./cloudforceOne/rules/tree/tools.js"; import { tools as cloudforceOne_scans_configTools } from "./cloudforceOne/scans/config/tools.js"; import { tools as cloudforceOne_scans_resultsTools } from "./cloudforceOne/scans/results/tools.js"; -import { tools as cloudforceOne_threatEvents_attackersTools } from "./cloudforceOne/threatEvents/attackers/tools.js"; -import { tools as cloudforceOne_threatEvents_categoriesTools } from "./cloudforceOne/threatEvents/categories/tools.js"; -import { tools as cloudforceOne_threatEvents_countriesTools } from "./cloudforceOne/threatEvents/countries/tools.js"; -import { tools as cloudforceOne_threatEvents_datasetsTools } from "./cloudforceOne/threatEvents/datasets/tools.js"; -import { tools as cloudforceOne_threatEvents_eventTagsTools } from "./cloudforceOne/threatEvents/eventTags/tools.js"; -import { tools as cloudforceOne_threatEvents_indicatorTypesTools } from "./cloudforceOne/threatEvents/indicatorTypes/tools.js"; -import { tools as cloudforceOne_threatEvents_rawTools } from "./cloudforceOne/threatEvents/raw/tools.js"; -import { tools as cloudforceOne_threatEvents_relateTools } from "./cloudforceOne/threatEvents/relate/tools.js"; -import { tools as cloudforceOne_threatEvents_tagsTools } from "./cloudforceOne/threatEvents/tags/tools.js"; -import { tools as cloudforceOne_threatEvents_targetIndustriesTools } from "./cloudforceOne/threatEvents/targetIndustries/tools.js"; -import { tools as cloudforceOne_threatEventsTools } from "./cloudforceOne/threatEvents/tools.js"; +import { tools as cloudforceOne_threatIntel_datasets_access_groups_membersTools } from "./cloudforceOne/threatIntel/datasets/access/groups/members/tools.js"; +import { tools as cloudforceOne_threatIntel_datasets_access_groupsTools } from "./cloudforceOne/threatIntel/datasets/access/groups/tools.js"; +import { tools as cloudforceOne_threatIntel_datasets_access_permissionsTools } from "./cloudforceOne/threatIntel/datasets/access/permissions/tools.js"; +import { tools as cloudforceOne_threatIntel_datasetsTools } from "./cloudforceOne/threatIntel/datasets/tools.js"; +import { tools as cloudforceOne_threatIntel_events_attackersTools } from "./cloudforceOne/threatIntel/events/attackers/tools.js"; +import { tools as cloudforceOne_threatIntel_events_categories_catalogTools } from "./cloudforceOne/threatIntel/events/categories/catalog/tools.js"; +import { tools as cloudforceOne_threatIntel_events_categoriesTools } from "./cloudforceOne/threatIntel/events/categories/tools.js"; +import { tools as cloudforceOne_threatIntel_events_countriesTools } from "./cloudforceOne/threatIntel/events/countries/tools.js"; +import { tools as cloudforceOne_threatIntel_events_legacy_rawTools } from "./cloudforceOne/threatIntel/events/legacy/raw/tools.js"; +import { tools as cloudforceOne_threatIntel_events_legacy_referencesTools } from "./cloudforceOne/threatIntel/events/legacy/references/tools.js"; +import { tools as cloudforceOne_threatIntel_events_legacy_tagsTools } from "./cloudforceOne/threatIntel/events/legacy/tags/tools.js"; +import { tools as cloudforceOne_threatIntel_events_legacyTools } from "./cloudforceOne/threatIntel/events/legacy/tools.js"; +import { tools as cloudforceOne_threatIntel_events_queriesTools } from "./cloudforceOne/threatIntel/events/queries/tools.js"; +import { tools as cloudforceOne_threatIntel_events_rawTools } from "./cloudforceOne/threatIntel/events/raw/tools.js"; +import { tools as cloudforceOne_threatIntel_events_relationshipsTools } from "./cloudforceOne/threatIntel/events/relationships/tools.js"; +import { tools as cloudforceOne_threatIntel_events_targetIndustries_catalogTools } from "./cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.js"; +import { tools as cloudforceOne_threatIntel_events_targetIndustries_legacyTools } from "./cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.js"; +import { tools as cloudforceOne_threatIntel_events_targetIndustriesTools } from "./cloudforceOne/threatIntel/events/targetIndustries/tools.js"; +import { tools as cloudforceOne_threatIntel_eventsTools } from "./cloudforceOne/threatIntel/events/tools.js"; +import { tools as cloudforceOne_threatIntel_indicators_relationshipsTools } from "./cloudforceOne/threatIntel/indicators/relationships/tools.js"; +import { tools as cloudforceOne_threatIntel_indicators_tagsTools } from "./cloudforceOne/threatIntel/indicators/tags/tools.js"; +import { tools as cloudforceOne_threatIntel_indicatorsTools } from "./cloudforceOne/threatIntel/indicators/tools.js"; +import { tools as cloudforceOne_threatIntel_indicators_typesTools } from "./cloudforceOne/threatIntel/indicators/types/tools.js"; +import { tools as cloudforceOne_threatIntel_tags_actorsTools } from "./cloudforceOne/threatIntel/tags/actors/tools.js"; +import { tools as cloudforceOne_threatIntel_tags_categoriesTools } from "./cloudforceOne/threatIntel/tags/categories/tools.js"; +import { tools as cloudforceOne_threatIntel_tags_indicatorsTools } from "./cloudforceOne/threatIntel/tags/indicators/tools.js"; +import { tools as cloudforceOne_threatIntel_tags_relationshipsTools } from "./cloudforceOne/threatIntel/tags/relationships/tools.js"; +import { tools as cloudforceOne_threatIntel_tagsTools } from "./cloudforceOne/threatIntel/tags/tools.js"; +import { tools as cloudforceOne_threatIntelTools } from "./cloudforceOne/threatIntel/tools.js"; import { tools as cloudforceOne_threatSignals_articles_skillsTools } from "./cloudforceOne/threatSignals/articles/skills/tools.js"; import { tools as cloudforceOne_threatSignals_articles_tagsTools } from "./cloudforceOne/threatSignals/articles/tags/tools.js"; import { tools as cloudforceOne_threatSignals_articlesTools } from "./cloudforceOne/threatSignals/articles/tools.js"; @@ -304,11 +280,11 @@ import { tools as dns_zoneTransfers_peersTools } from "./dns/zoneTransfers/peers import { tools as dns_zoneTransfers_tsigsTools } from "./dns/zoneTransfers/tsigs/tools.js"; import { tools as dnsFirewall_reverseDnsTools } from "./dnsFirewall/reverseDns/tools.js"; import { tools as dnsFirewallTools } from "./dnsFirewall/tools.js"; -import { tools as domainInfoTools } from "./domainInfo/tools.js"; import { tools as durableObjects_namespaces_objectsTools } from "./durableObjects/namespaces/objects/tools.js"; import { tools as durableObjects_namespacesTools } from "./durableObjects/namespaces/tools.js"; import { tools as emailAuth_dmarcReportsTools } from "./emailAuth/dmarcReports/tools.js"; import { tools as emailAuth_spfTools } from "./emailAuth/spf/tools.js"; +import { tools as emailDomainsTools } from "./emailDomains/tools.js"; import { tools as emailRouting_addressesTools } from "./emailRouting/addresses/tools.js"; import { tools as emailRouting_dnsTools } from "./emailRouting/dns/tools.js"; import { tools as emailRouting_rules_catchAllTools } from "./emailRouting/rules/catchAll/tools.js"; @@ -379,6 +355,7 @@ import { tools as intel_indicatorFeeds_downloadsTools } from "./intel/indicatorF import { tools as intel_indicatorFeeds_permissionsTools } from "./intel/indicatorFeeds/permissions/tools.js"; import { tools as intel_indicatorFeeds_providersTools } from "./intel/indicatorFeeds/providers/tools.js"; import { tools as intel_indicatorFeedsTools } from "./intel/indicatorFeeds/tools.js"; +import { tools as intel_indicatorFeeds_uploadsTools } from "./intel/indicatorFeeds/uploads/tools.js"; import { tools as intel_ipListsTools } from "./intel/ipLists/tools.js"; import { tools as intel_ipsTools } from "./intel/ips/tools.js"; import { tools as intel_miscategorizationsTools } from "./intel/miscategorizations/tools.js"; @@ -410,9 +387,6 @@ import { tools as loadBalancers_poolsTools } from "./loadBalancers/pools/tools.j import { tools as loadBalancers_previewsTools } from "./loadBalancers/previews/tools.js"; import { tools as loadBalancers_regionsTools } from "./loadBalancers/regions/tools.js"; import { tools as loadBalancers_searchesTools } from "./loadBalancers/searches/tools.js"; -import { tools as logoMatches_downloadTools } from "./logoMatches/download/tools.js"; -import { tools as logoMatchesTools } from "./logoMatches/tools.js"; -import { tools as logosTools } from "./logos/tools.js"; import { tools as logpush_accountDatasets_fieldsTools } from "./logpush/accountDatasets/fields/tools.js"; import { tools as logpush_accountDatasets_jobsTools } from "./logpush/accountDatasets/jobs/tools.js"; import { tools as logpush_accountJobsTools } from "./logpush/accountJobs/tools.js"; @@ -478,8 +452,6 @@ import { tools as managedDefense_vulnerabilityDiscovery_reportsTools } from "./m import { tools as managedDefense_vulnerabilityDiscovery_repositoriesTools } from "./managedDefense/vulnerabilityDiscovery/repositories/tools.js"; import { tools as managedDefense_vulnerabilityDiscovery_scansTools } from "./managedDefense/vulnerabilityDiscovery/scans/tools.js"; import { tools as managedTransformsTools } from "./managedTransforms/tools.js"; -import { tools as matches_downloadTools } from "./matches/download/tools.js"; -import { tools as matchesTools } from "./matches/tools.js"; import { tools as mcp_portalsTools } from "./mcp/portals/tools.js"; import { tools as mcp_serversTools } from "./mcp/servers/tools.js"; import { tools as media_usageTools } from "./media/usage/tools.js"; @@ -549,9 +521,6 @@ import { tools as pipelines_streamsTools } from "./pipelines/streams/tools.js"; import { tools as pipelinesTools } from "./pipelines/tools.js"; import { tools as precursorTools } from "./precursor/tools.js"; import { tools as previewsTools } from "./previews/tools.js"; -import { tools as queries_bulkTools } from "./queries/bulk/tools.js"; -import { tools as queries_matchesTools } from "./queries/matches/tools.js"; -import { tools as queriesTools } from "./queries/tools.js"; import { tools as queues_consumersTools } from "./queues/consumers/tools.js"; import { tools as queues_messagesTools } from "./queues/messages/tools.js"; import { tools as queues_metricsTools } from "./queues/metrics/tools.js"; @@ -689,8 +658,6 @@ import { tools as realtime_moq_relays_tokensTools } from "./realtime/moq/relays/ import { tools as realtime_moq_relaysTools } from "./realtime/moq/relays/tools.js"; import { tools as realtime_sfu_appsTools } from "./realtime/sfu/apps/tools.js"; import { tools as realtime_turn_keysTools } from "./realtime/turn/keys/tools.js"; -import { tools as recentSubmissionsTools } from "./recentSubmissions/tools.js"; -import { tools as refuteTools } from "./refute/tools.js"; import { tools as registrar_extensionsTools } from "./registrar/extensions/tools.js"; import { tools as registrar_registrationsTools } from "./registrar/registrations/tools.js"; import { tools as registrarSandbox_extensionsTools } from "./registrarSandbox/extensions/tools.js"; @@ -714,14 +681,11 @@ import { tools as rulesets_versions_byTagTools } from "./rulesets/versions/byTag import { tools as rulesets_versionsTools } from "./rulesets/versions/tools.js"; import { tools as rum_rulesTools } from "./rum/rules/tools.js"; import { tools as rum_siteInfoTools } from "./rum/siteInfo/tools.js"; -import { tools as scanLogoTools } from "./scanLogo/tools.js"; -import { tools as scanPageTools } from "./scanPage/tools.js"; import { tools as scim_groupsTools } from "./scim/groups/tools.js"; import { tools as scim_resourceTypesTools } from "./scim/resourceTypes/tools.js"; import { tools as scim_schemasTools } from "./scim/schemas/tools.js"; import { tools as scim_serviceProviderConfigTools } from "./scim/serviceProviderConfig/tools.js"; import { tools as scim_usersTools } from "./scim/users/tools.js"; -import { tools as searchTools } from "./search/tools.js"; import { tools as secretsStore_quotaTools } from "./secretsStore/quota/tools.js"; import { tools as secretsStore_secretsTools } from "./secretsStore/secrets/tools.js"; import { tools as secretsStore_storesTools } from "./secretsStore/stores/tools.js"; @@ -792,8 +756,6 @@ import { tools as stream_videos_tokenTools } from "./stream/videos/token/tools.j import { tools as stream_videosTools } from "./stream/videos/tools.js"; import { tools as stream_watermarksTools } from "./stream/watermarks/tools.js"; import { tools as stream_webhooksTools } from "./stream/webhooks/tools.js"; -import { tools as submissionInfoTools } from "./submissionInfo/tools.js"; -import { tools as submitTools } from "./submit/tools.js"; import { tools as tags_accountResourcesTools } from "./tags/accountResources/tools.js"; import { tools as tags_keysTools } from "./tags/keys/tools.js"; import { tools as tags_resourcesTools } from "./tags/resources/tools.js"; @@ -804,8 +766,6 @@ import { tools as tenant_accountTypeTools } from "./tenant/accountType/tools.js" import { tools as tenant_entitlementTools } from "./tenant/entitlement/tools.js"; import { tools as tenantTools } from "./tenant/tools.js"; import { tools as tenantCustomNameserversTools } from "./tenantCustomNameservers/tools.js"; -import { tools as totalQueriesTools } from "./totalQueries/tools.js"; -import { tools as trackedDomainsTools } from "./trackedDomains/tools.js"; import { tools as tunnelTools } from "./tunnel/tools.js"; import { tools as tunnels_configTools } from "./tunnels/config/tools.js"; import { tools as tunnels_connectionsTools } from "./tunnels/connections/tools.js"; @@ -814,7 +774,6 @@ import { tools as tunnels_managementTokenTools } from "./tunnels/managementToken import { tools as tunnels_tokenTools } from "./tunnels/token/tools.js"; import { tools as tunnelsTools } from "./tunnels/tools.js"; import { tools as turnstile_widgetsTools } from "./turnstile/widgets/tools.js"; -import { tools as urlInfoTools } from "./urlInfo/tools.js"; import { tools as urlNormalizationTools } from "./urlNormalization/tools.js"; import { tools as urlScanner_responsesTools } from "./urlScanner/responses/tools.js"; import { tools as urlScanner_scansTools } from "./urlScanner/scans/tools.js"; @@ -840,7 +799,6 @@ import { tools as user_tokensTools } from "./user/tokens/tools.js"; import { tools as userTools } from "./user/tools.js"; import { tools as vectorize_metadataIndexTools } from "./vectorize/metadataIndex/tools.js"; import { tools as vectorizeTools } from "./vectorize/tools.js"; -import { tools as verifyTools } from "./verify/tools.js"; import { tools as waitingRooms_accountWaitingRoomsTools } from "./waitingRooms/accountWaitingRooms/tools.js"; import { tools as waitingRooms_events_detailsTools } from "./waitingRooms/events/details/tools.js"; import { tools as waitingRooms_eventsTools } from "./waitingRooms/events/tools.js"; @@ -1163,10 +1121,6 @@ export const tools: readonly Tool[] = [ ...alerting_policiesTools, ...alerting_policies_emailTools, ...alerting_silencesTools, - ...alertsTools, - ...alerts_clearTools, - ...alerts_refuteTools, - ...alerts_verifyTools, ...analytics_latencyTools, ...analytics_latency_colosTools, ...analytics_queryTools, @@ -1222,8 +1176,6 @@ export const tools: readonly Tool[] = [ ...brandProtection_matchesTools, ...brandProtection_queriesTools, ...brandProtection_trialTools, - ...brandsTools, - ...brands_patternsTools, ...browserRun_crawlTools, ...browserRun_devtools_browserTools, ...browserRun_devtools_browser_liveViewTools, @@ -1247,11 +1199,12 @@ export const tools: readonly Tool[] = [ ...builds_workersTools, ...cacheTools, ...cache_originCloudRegionsTools, + ...cache_originCloudRegions_bulkTools, + ...cache_originCloudRegions_regionsTools, ...cache_settings_regionalTieredCacheTools, ...cache_settings_reserveTools, ...cache_settings_smartTieredCacheTools, ...cache_settings_variantsTools, - ...clearTools, ...clientSideSecurity_connectionsTools, ...clientSideSecurity_cookiesTools, ...clientSideSecurity_policiesTools, @@ -1261,44 +1214,6 @@ export const tools: readonly Tool[] = [ ...cloudforceOne_binaryStorageTools, ...cloudforceOne_credentialMonitor_domainsTools, ...cloudforceOne_credentialMonitor_matchesTools, - ...cloudforceOne_eventsTools, - ...cloudforceOne_events_aggregateTools, - ...cloudforceOne_events_categoriesTools, - ...cloudforceOne_events_categories_catalogTools, - ...cloudforceOne_events_datasetTools, - ...cloudforceOne_events_dataset_copyTools, - ...cloudforceOne_events_dataset_eventsTools, - ...cloudforceOne_events_dataset_groupsTools, - ...cloudforceOne_events_dataset_groups_getTools, - ...cloudforceOne_events_dataset_groups_membersTools, - ...cloudforceOne_events_dataset_indicatorsTools, - ...cloudforceOne_events_dataset_indicators_bulkTools, - ...cloudforceOne_events_dataset_indicators_createTools, - ...cloudforceOne_events_dataset_indicators_getTools, - ...cloudforceOne_events_dataset_indicators_relationshipsTools, - ...cloudforceOne_events_dataset_indicators_tagsTools, - ...cloudforceOne_events_dataset_moveTools, - ...cloudforceOne_events_dataset_permissionsTools, - ...cloudforceOne_events_dataset_tags_indicatorsTools, - ...cloudforceOne_events_dataset_target_industriesTools, - ...cloudforceOne_events_datasets_populateTools, - ...cloudforceOne_events_deleteTools, - ...cloudforceOne_events_graphql_create_graphTools, - ...cloudforceOne_events_indicator_typesTools, - ...cloudforceOne_events_indicatorsTools, - ...cloudforceOne_events_queriesTools, - ...cloudforceOne_events_queries_getTools, - ...cloudforceOne_events_rawTools, - ...cloudforceOne_events_relate_createTools, - ...cloudforceOne_events_relationshipsTools, - ...cloudforceOne_events_relationships_createTools, - ...cloudforceOne_events_tagsTools, - ...cloudforceOne_events_tags_categoriesTools, - ...cloudforceOne_events_tags_categories_actorsTools, - ...cloudforceOne_events_tags_categories_createTools, - ...cloudforceOne_events_tags_relationshipsTools, - ...cloudforceOne_events_target_industries_catalogTools, - ...cloudforceOne_events_update_bulkTools, ...cloudforceOne_priorityIntelligenceTools, ...cloudforceOne_priorityIntelligence_constantsTools, ...cloudforceOne_priorityIntelligence_filtersTools, @@ -1306,6 +1221,7 @@ export const tools: readonly Tool[] = [ ...cloudforceOne_priorityIntelligence_interests_backtestsTools, ...cloudforceOne_priorityIntelligence_interests_evaluationsTools, ...cloudforceOne_priorityIntelligence_matchesTools, + ...cloudforceOne_priorityIntelligence_profileTools, ...cloudforceOne_priorityIntelligence_quotaTools, ...cloudforceOne_requestsTools, ...cloudforceOne_requests_assetsTools, @@ -1327,17 +1243,35 @@ export const tools: readonly Tool[] = [ ...cloudforceOne_rules_treeTools, ...cloudforceOne_scans_configTools, ...cloudforceOne_scans_resultsTools, - ...cloudforceOne_threatEventsTools, - ...cloudforceOne_threatEvents_attackersTools, - ...cloudforceOne_threatEvents_categoriesTools, - ...cloudforceOne_threatEvents_countriesTools, - ...cloudforceOne_threatEvents_datasetsTools, - ...cloudforceOne_threatEvents_eventTagsTools, - ...cloudforceOne_threatEvents_indicatorTypesTools, - ...cloudforceOne_threatEvents_rawTools, - ...cloudforceOne_threatEvents_relateTools, - ...cloudforceOne_threatEvents_tagsTools, - ...cloudforceOne_threatEvents_targetIndustriesTools, + ...cloudforceOne_threatIntelTools, + ...cloudforceOne_threatIntel_datasetsTools, + ...cloudforceOne_threatIntel_datasets_access_groupsTools, + ...cloudforceOne_threatIntel_datasets_access_groups_membersTools, + ...cloudforceOne_threatIntel_datasets_access_permissionsTools, + ...cloudforceOne_threatIntel_eventsTools, + ...cloudforceOne_threatIntel_events_attackersTools, + ...cloudforceOne_threatIntel_events_categoriesTools, + ...cloudforceOne_threatIntel_events_categories_catalogTools, + ...cloudforceOne_threatIntel_events_countriesTools, + ...cloudforceOne_threatIntel_events_legacyTools, + ...cloudforceOne_threatIntel_events_legacy_rawTools, + ...cloudforceOne_threatIntel_events_legacy_referencesTools, + ...cloudforceOne_threatIntel_events_legacy_tagsTools, + ...cloudforceOne_threatIntel_events_queriesTools, + ...cloudforceOne_threatIntel_events_rawTools, + ...cloudforceOne_threatIntel_events_relationshipsTools, + ...cloudforceOne_threatIntel_events_targetIndustriesTools, + ...cloudforceOne_threatIntel_events_targetIndustries_catalogTools, + ...cloudforceOne_threatIntel_events_targetIndustries_legacyTools, + ...cloudforceOne_threatIntel_indicatorsTools, + ...cloudforceOne_threatIntel_indicators_relationshipsTools, + ...cloudforceOne_threatIntel_indicators_tagsTools, + ...cloudforceOne_threatIntel_indicators_typesTools, + ...cloudforceOne_threatIntel_tagsTools, + ...cloudforceOne_threatIntel_tags_actorsTools, + ...cloudforceOne_threatIntel_tags_categoriesTools, + ...cloudforceOne_threatIntel_tags_indicatorsTools, + ...cloudforceOne_threatIntel_tags_relationshipsTools, ...cloudforceOne_threatSignalsTools, ...cloudforceOne_threatSignals_articlesTools, ...cloudforceOne_threatSignals_articles_skillsTools, @@ -1395,11 +1329,11 @@ export const tools: readonly Tool[] = [ ...dns_zoneTransfers_tsigsTools, ...dnsFirewallTools, ...dnsFirewall_reverseDnsTools, - ...domainInfoTools, ...durableObjects_namespacesTools, ...durableObjects_namespaces_objectsTools, ...emailAuth_dmarcReportsTools, ...emailAuth_spfTools, + ...emailDomainsTools, ...emailRoutingTools, ...emailRouting_addressesTools, ...emailRouting_dnsTools, @@ -1470,6 +1404,7 @@ export const tools: readonly Tool[] = [ ...intel_indicatorFeeds_downloadsTools, ...intel_indicatorFeeds_permissionsTools, ...intel_indicatorFeeds_providersTools, + ...intel_indicatorFeeds_uploadsTools, ...intel_ipListsTools, ...intel_ipsTools, ...intel_miscategorizationsTools, @@ -1501,9 +1436,6 @@ export const tools: readonly Tool[] = [ ...loadBalancers_previewsTools, ...loadBalancers_regionsTools, ...loadBalancers_searchesTools, - ...logoMatchesTools, - ...logoMatches_downloadTools, - ...logosTools, ...logpush_accountDatasets_fieldsTools, ...logpush_accountDatasets_jobsTools, ...logpush_accountJobsTools, @@ -1569,8 +1501,6 @@ export const tools: readonly Tool[] = [ ...managedDefense_vulnerabilityDiscovery_repositoriesTools, ...managedDefense_vulnerabilityDiscovery_scansTools, ...managedTransformsTools, - ...matchesTools, - ...matches_downloadTools, ...mcp_portalsTools, ...mcp_serversTools, ...media_usageTools, @@ -1640,9 +1570,6 @@ export const tools: readonly Tool[] = [ ...pipelines_streamsTools, ...precursorTools, ...previewsTools, - ...queriesTools, - ...queries_bulkTools, - ...queries_matchesTools, ...queuesTools, ...queues_consumersTools, ...queues_messagesTools, @@ -1780,8 +1707,6 @@ export const tools: readonly Tool[] = [ ...realtime_moq_relays_tokensTools, ...realtime_sfu_appsTools, ...realtime_turn_keysTools, - ...recentSubmissionsTools, - ...refuteTools, ...registrar_extensionsTools, ...registrar_registrationsTools, ...registrarSandbox_extensionsTools, @@ -1805,14 +1730,11 @@ export const tools: readonly Tool[] = [ ...rulesets_versions_byTagTools, ...rum_rulesTools, ...rum_siteInfoTools, - ...scanLogoTools, - ...scanPageTools, ...scim_groupsTools, ...scim_resourceTypesTools, ...scim_schemasTools, ...scim_serviceProviderConfigTools, ...scim_usersTools, - ...searchTools, ...secretsStore_quotaTools, ...secretsStore_secretsTools, ...secretsStore_storesTools, @@ -1883,8 +1805,6 @@ export const tools: readonly Tool[] = [ ...stream_videos_tokenTools, ...stream_watermarksTools, ...stream_webhooksTools, - ...submissionInfoTools, - ...submitTools, ...tags_accountResourcesTools, ...tags_keysTools, ...tags_resourcesTools, @@ -1895,8 +1815,6 @@ export const tools: readonly Tool[] = [ ...tenant_accountTypeTools, ...tenant_entitlementTools, ...tenantCustomNameserversTools, - ...totalQueriesTools, - ...trackedDomainsTools, ...tunnelTools, ...tunnelsTools, ...tunnels_configTools, @@ -1905,7 +1823,6 @@ export const tools: readonly Tool[] = [ ...tunnels_managementTokenTools, ...tunnels_tokenTools, ...turnstile_widgetsTools, - ...urlInfoTools, ...urlNormalizationTools, ...urlScanner_responsesTools, ...urlScanner_scansTools, @@ -1931,7 +1848,6 @@ export const tools: readonly Tool[] = [ ...user_tokens_permissionGroupsTools, ...vectorizeTools, ...vectorize_metadataIndexTools, - ...verifyTools, ...waitingRoomsTools, ...waitingRooms_accountWaitingRoomsTools, ...waitingRooms_eventsTools, diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts new file mode 100644 index 00000000..f703bb81 --- /dev/null +++ b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts @@ -0,0 +1,97 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import type { JsonSchema } from "../../../_/tool.js"; + +/** + * The schema of `custom-indicator-feeds_feed_id` in responses. + */ +export const custom_indicator_feeds_feed_id_output: JsonSchema = { + "type": "integer" +}; + +/** + * The schema of `custom-indicator-feeds_upload_status` in responses. + */ +export const custom_indicator_feeds_upload_status_output: JsonSchema = { + "properties": { + "attempts": { + "type": "integer" + }, + "created_at": { + "format": "date-time", + "type": "string" + }, + "error": { + "type": "string" + }, + "feed_id": { + "$ref": "#/$defs/custom-indicator-feeds_feed_id" + }, + "filename": { + "type": "string" + }, + "poll_after_seconds": { + "type": "integer" + }, + "stage": { + "enum": [ + "queued", + "loading", + "provisioning", + "retrying", + "complete", + "error" + ], + "type": "string" + }, + "status": { + "type": "string" + }, + "updated_at": { + "format": "date-time", + "type": "string" + }, + "upload_id": { + "type": "integer" + } + }, + "required": [ + "attempts", + "feed_id", + "filename", + "poll_after_seconds", + "status", + "upload_id" + ], + "type": "object" +}; + +/** + * The schema of `custom-indicator-feeds_upload_status_response` in responses. + */ +export const custom_indicator_feeds_upload_status_response_output: JsonSchema = { + "properties": { + "errors": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "messages": { + "$ref": "#/$defs/custom-indicator-feeds_messages-2" + }, + "result": { + "$ref": "#/$defs/custom-indicator-feeds_upload_status" + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "required": [ + "errors", + "messages", + "success" + ], + "type": "object" +}; diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts new file mode 100644 index 00000000..0c5df3f3 --- /dev/null +++ b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts @@ -0,0 +1,96 @@ +// Code generated by forge. DO NOT EDIT. +/* eslint-disable */ + +import { type Tool, pathParam } from "../../../_/tool.js"; +import { + custom_indicator_feeds_api_response_common_failure_output, + custom_indicator_feeds_messages_2_output, + custom_indicator_feeds_messages_output, +} from "../outputs.js"; +import { + custom_indicator_feeds_feed_id_output, + custom_indicator_feeds_upload_status_output, + custom_indicator_feeds_upload_status_response_output, +} from "./outputs.js"; + +/** + * The tools of `intel.indicator_feeds.uploads`. + */ +export const tools: readonly Tool[] = [ + { + name: "intel_indicator_feeds_uploads_get", + title: "Get indicator feed upload status", + description: "Polls an asynchronously accepted upload. Continue polling after the\nrecommended `poll_after_seconds` delay until status is `Unified` or\n`Error`. `Unified` is returned only after the durable loader finishes.", + inputSchema: { + type: "object", + properties: { + "account_id": { + "description": "Identifier", + "type": "string" + }, + "feed_id": { + "description": "Indicator feed ID", + "type": "string" + }, + "upload_id": { + "type": "string" + } + }, + required: [ + "account_id", + "feed_id", + "upload_id" + ], + }, + outputSchema: { + "$ref": "#/$defs/custom-indicator-feeds_upload_status", + $defs: { + "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id_output, + "custom-indicator-feeds_upload_status": custom_indicator_feeds_upload_status_output, + }, + }, + annotations: { + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": true, + "title": "Get indicator feed upload status" + }, + method: "GET", + path: "/accounts/{account_id}/intel/indicator-feeds/{feed_id}/uploads/{upload_id}", + extensions: { + "x-api-token-group": [ + "Intel Write", + "Intel Read" + ] + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/custom-indicator-feeds_upload_status" + }, + "4XX": { + "allOf": [ + { + "$ref": "#/$defs/custom-indicator-feeds_upload_status_response" + }, + { + "$ref": "#/$defs/custom-indicator-feeds_api_response_common_failure" + } + ] + } + }, + $defs: { + "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, + "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id_output, + "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_upload_status": custom_indicator_feeds_upload_status_output, + "custom-indicator-feeds_upload_status_response": custom_indicator_feeds_upload_status_response_output, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/intel/indicator-feeds/${pathParam(args, "feed_id")}/uploads/${pathParam(args, "upload_id")}`, + }), + }, +]; diff --git a/src/generated/forge-mcp/internal/submit/tools.ts b/src/generated/forge-mcp/internal/submit/tools.ts index 9bab7771..2594c2e9 100644 --- a/src/generated/forge-mcp/internal/submit/tools.ts +++ b/src/generated/forge-mcp/internal/submit/tools.ts @@ -27,7 +27,20 @@ export const tools: readonly Tool[] = [ path: "/internal/submit", responses: { schemas: { - "default": { + "2XX": null, + "400": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "403": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "404": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "429": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "500": { "$ref": "#/$defs/brand-protection-api_Error" } }, diff --git a/src/generated/forge-mcp/live/tools.ts b/src/generated/forge-mcp/live/tools.ts index 0d076739..6b105749 100644 --- a/src/generated/forge-mcp/live/tools.ts +++ b/src/generated/forge-mcp/live/tools.ts @@ -11,7 +11,7 @@ export const tools: readonly Tool[] = [ { name: "live_get", title: "Run liveness checks", - description: "Return a success message after running liveness checks", + description: "Return a success message after running liveness checks.", inputSchema: { type: "object", properties: {}, @@ -27,7 +27,20 @@ export const tools: readonly Tool[] = [ path: "/live", responses: { schemas: { - "default": { + "2XX": null, + "400": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "403": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "404": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "429": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "500": { "$ref": "#/$defs/brand-protection-api_Error" } }, diff --git a/src/generated/forge-mcp/logoMatches/download/tools.ts b/src/generated/forge-mcp/logoMatches/download/tools.ts deleted file mode 100644 index 01efefa8..00000000 --- a/src/generated/forge-mcp/logoMatches/download/tools.ts +++ /dev/null @@ -1,86 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; -import { brand_protection_api_LogoMatch_output } from "../outputs.js"; - -/** - * The tools of `logo_matches.download`. - */ -export const tools: readonly Tool[] = [ - { - name: "logo_matches_download_get", - title: "Download matches for logo queries by ID", - description: "Return matches as CSV for logo queries based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "limit": { - "type": "string" - }, - "logo_id": { - "items": { - "type": "string" - }, - "type": "array" - }, - "offset": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/brand-protection-api_LogoMatch", - $defs: { - "brand-protection-api_LogoMatch": brand_protection_api_LogoMatch_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Download matches for logo queries by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/logo-matches/download", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/brand-protection-api_LogoMatch" - }, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - "brand-protection-api_LogoMatch": brand_protection_api_LogoMatch_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logo-matches/download`, - query: [ - ["logo_id", args["logo_id"], true], - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/logoMatches/outputs.ts b/src/generated/forge-mcp/logoMatches/outputs.ts deleted file mode 100644 index 58c2d55e..00000000 --- a/src/generated/forge-mcp/logoMatches/outputs.ts +++ /dev/null @@ -1,22 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `brand-protection-api_LogoMatch` in responses. - */ -export const brand_protection_api_LogoMatch_output: JsonSchema = { - "properties": { - "matches": { - "items": { - "type": "object" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" -}; diff --git a/src/generated/forge-mcp/logoMatches/tools.ts b/src/generated/forge-mcp/logoMatches/tools.ts deleted file mode 100644 index 6711eae4..00000000 --- a/src/generated/forge-mcp/logoMatches/tools.ts +++ /dev/null @@ -1,86 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; -import { brand_protection_api_LogoMatch_output } from "./outputs.js"; - -/** - * The tools of `logo_matches`. - */ -export const tools: readonly Tool[] = [ - { - name: "logo_matches_get", - title: "Read matches for logo queries by ID", - description: "Return matches for logo queries based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "limit": { - "type": "string" - }, - "logo_id": { - "items": { - "type": "string" - }, - "type": "array" - }, - "offset": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/brand-protection-api_LogoMatch", - $defs: { - "brand-protection-api_LogoMatch": brand_protection_api_LogoMatch_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read matches for logo queries by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/logo-matches", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/brand-protection-api_LogoMatch" - }, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - "brand-protection-api_LogoMatch": brand_protection_api_LogoMatch_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logo-matches`, - query: [ - ["logo_id", args["logo_id"], true], - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/logos/tools.ts b/src/generated/forge-mcp/logos/tools.ts deleted file mode 100644 index 63b94607..00000000 --- a/src/generated/forge-mcp/logos/tools.ts +++ /dev/null @@ -1,151 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `logos`. - */ -export const tools: readonly Tool[] = [ - { - name: "logos_delete", - title: "Delete saved logo queries by ID", - description: "Return a success message after deleting saved logo queries by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "logo_id": { - "type": "string" - } - }, - required: [ - "account_id", - "logo_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete saved logo queries by ID" - }, - method: "DELETE", - path: "/accounts/{account_id}/brand-protection/logos/{logo_id}", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "204": null, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logos/${pathParam(args, "logo_id")}`, - }), - }, - { - name: "logos_get", - title: "Read saved logo queries by ID", - description: "Return saved logo queries based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "logo_id": { - "type": "string" - } - }, - required: [ - "account_id", - "logo_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read saved logo queries by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/logos/{logo_id}", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logos/${pathParam(args, "logo_id")}`, - }), - }, - { - name: "logos_list", - title: "Read all saved logo queries", - description: "Return all saved logo queries", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read all saved logo queries" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/logos", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/logos`, - }), - }, -]; diff --git a/src/generated/forge-mcp/matches/download/tools.ts b/src/generated/forge-mcp/matches/download/tools.ts deleted file mode 100644 index 36a9dca3..00000000 --- a/src/generated/forge-mcp/matches/download/tools.ts +++ /dev/null @@ -1,91 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; -import { brand_protection_api_QueryMatch_output } from "../outputs.js"; - -/** - * The tools of `matches.download`. - */ -export const tools: readonly Tool[] = [ - { - name: "matches_download_get", - title: "Download matches for string queries by ID", - description: "Return matches as CSV for string queries based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "include_dismissed": { - "type": "boolean" - }, - "include_domain_id": { - "type": "boolean" - }, - "limit": { - "type": "integer" - }, - "offset": { - "type": "integer" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/brand-protection-api_QueryMatch", - $defs: { - "brand-protection-api_QueryMatch": brand_protection_api_QueryMatch_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Download matches for string queries by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/matches/download", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/brand-protection-api_QueryMatch" - }, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - "brand-protection-api_QueryMatch": brand_protection_api_QueryMatch_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/matches/download`, - query: [ - ["id", args["id"], true], - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ["include_domain_id", args["include_domain_id"], true], - ["include_dismissed", args["include_dismissed"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/matches/outputs.ts b/src/generated/forge-mcp/matches/outputs.ts deleted file mode 100644 index 57816e54..00000000 --- a/src/generated/forge-mcp/matches/outputs.ts +++ /dev/null @@ -1,22 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `brand-protection-api_QueryMatch` in responses. - */ -export const brand_protection_api_QueryMatch_output: JsonSchema = { - "properties": { - "matches": { - "items": { - "type": "object" - }, - "type": "array" - }, - "total": { - "type": "integer" - } - }, - "type": "object" -}; diff --git a/src/generated/forge-mcp/matches/tools.ts b/src/generated/forge-mcp/matches/tools.ts deleted file mode 100644 index 564e09e1..00000000 --- a/src/generated/forge-mcp/matches/tools.ts +++ /dev/null @@ -1,91 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; -import { brand_protection_api_QueryMatch_output } from "./outputs.js"; - -/** - * The tools of `matches`. - */ -export const tools: readonly Tool[] = [ - { - name: "matches_get", - title: "Read matches for string queries by ID", - description: "Return matches for string queries based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "include_dismissed": { - "type": "boolean" - }, - "include_domain_id": { - "type": "boolean" - }, - "limit": { - "type": "integer" - }, - "offset": { - "type": "integer" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/brand-protection-api_QueryMatch", - $defs: { - "brand-protection-api_QueryMatch": brand_protection_api_QueryMatch_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read matches for string queries by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/matches", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/brand-protection-api_QueryMatch" - }, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - "brand-protection-api_QueryMatch": brand_protection_api_QueryMatch_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/matches`, - query: [ - ["id", args["id"], true], - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ["include_domain_id", args["include_domain_id"], true], - ["include_dismissed", args["include_dismissed"], true], - ], - }), - }, -]; diff --git a/src/generated/forge-mcp/outputs.ts b/src/generated/forge-mcp/outputs.ts index eaccfdfe..7d70a206 100644 --- a/src/generated/forge-mcp/outputs.ts +++ b/src/generated/forge-mcp/outputs.ts @@ -2145,6 +2145,9 @@ export const brand_protection_api_Error_output: JsonSchema = { "type": "integer" }, "errors": { + "additionalProperties": { + "type": "object" + }, "type": "object" }, "message": { @@ -3187,6 +3190,13 @@ export const email_dns_record_ttl_output: JsonSchema = { ] }; +/** + * The schema of `email_identifier` in responses. + */ +export const email_identifier_output: JsonSchema = { + "type": "string" +}; + /** * The schema of `email_modified` in responses. */ diff --git a/src/generated/forge-mcp/queries/bulk/schemas.ts b/src/generated/forge-mcp/queries/bulk/schemas.ts deleted file mode 100644 index b8ca914a..00000000 --- a/src/generated/forge-mcp/queries/bulk/schemas.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `brand-protection-api_QueryBulk`. - */ -export const brand_protection_api_QueryBulk: JsonSchema = { - "properties": { - "queries": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" -}; diff --git a/src/generated/forge-mcp/queries/bulk/tools.ts b/src/generated/forge-mcp/queries/bulk/tools.ts deleted file mode 100644 index 5fa768b5..00000000 --- a/src/generated/forge-mcp/queries/bulk/tools.ts +++ /dev/null @@ -1,67 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; -import { brand_protection_api_QueryBulk } from "./schemas.js"; - -/** - * The tools of `queries.bulk`. - */ -export const tools: readonly Tool[] = [ - { - name: "queries_bulk_create", - title: "Create new saved string queries in bulk", - description: "Return a success message after creating new saved string queries in bulk", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "body": { - "$ref": "#/$defs/brand-protection-api_QueryBulk" - } - }, - required: [ - "account_id", - "body" - ], - $defs: { - "brand-protection-api_QueryBulk": brand_protection_api_QueryBulk, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new saved string queries in bulk" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/queries/bulk", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "204": null, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries/bulk`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, -]; diff --git a/src/generated/forge-mcp/queries/matches/tools.ts b/src/generated/forge-mcp/queries/matches/tools.ts deleted file mode 100644 index 9b97923a..00000000 --- a/src/generated/forge-mcp/queries/matches/tools.ts +++ /dev/null @@ -1,113 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; - -/** - * The tools of `queries.matches`. - */ -export const tools: readonly Tool[] = [ - { - name: "queries_matches_dismiss", - title: "Dismiss a match for a saved string query", - description: "Hide a matched domain from the default view of a saved query's results. Dismissal is scoped to the calling account.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "domain_id": { - "type": "integer" - }, - "query_id": { - "type": "integer" - } - }, - required: [ - "account_id", - "query_id", - "domain_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Dismiss a match for a saved string query" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/queries/{query_id}/matches/{domain_id}/dismiss", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries/${pathParam(args, "query_id")}/matches/${pathParam(args, "domain_id")}/dismiss`, - }), - }, - { - name: "queries_matches_undismiss", - title: "Undismiss a match for a saved string query", - description: "Restore a previously dismissed matched domain to the default view. Dismissal is scoped to the calling account.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "domain_id": { - "type": "integer" - }, - "query_id": { - "type": "integer" - } - }, - required: [ - "account_id", - "query_id", - "domain_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Undismiss a match for a saved string query" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/queries/{query_id}/matches/{domain_id}/undismiss", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries/${pathParam(args, "query_id")}/matches/${pathParam(args, "domain_id")}/undismiss`, - }), - }, -]; diff --git a/src/generated/forge-mcp/queries/schemas.ts b/src/generated/forge-mcp/queries/schemas.ts deleted file mode 100644 index e961dc24..00000000 --- a/src/generated/forge-mcp/queries/schemas.ts +++ /dev/null @@ -1,42 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `brand-protection-api_Query`. - */ -export const brand_protection_api_Query: JsonSchema = { - "properties": { - "max_time": { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "min_time": { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] - }, - "scan": { - "type": "boolean" - }, - "string_matches": {}, - "tag": { - "type": "string" - } - }, - "type": "object" -}; diff --git a/src/generated/forge-mcp/queries/tools.ts b/src/generated/forge-mcp/queries/tools.ts deleted file mode 100644 index 648c28ad..00000000 --- a/src/generated/forge-mcp/queries/tools.ts +++ /dev/null @@ -1,260 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; -import { brand_protection_api_Query } from "./schemas.js"; - -/** - * The tools of `queries`. - */ -export const tools: readonly Tool[] = [ - { - name: "queries_create", - title: "Create new saved string queries", - description: "Return a success message after creating new saved string queries", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "body": { - "$ref": "#/$defs/brand-protection-api_Query" - }, - "id": { - "type": "string" - } - }, - required: [ - "account_id", - "body" - ], - $defs: { - "brand-protection-api_Query": brand_protection_api_Query, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new saved string queries" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/queries", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "204": null, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, - query: [ - ["id", args["id"], true], - ], - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "queries_delete", - title: "Delete saved string queries by ID", - description: "Return a success message after deleting saved string queries by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "scan": { - "type": "boolean" - }, - "tag": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": true, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Delete saved string queries by ID" - }, - method: "DELETE", - path: "/accounts/{account_id}/brand-protection/queries", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "204": null, - "422": { - "$ref": "#/$defs/brand-protection-api_Error" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, - query: [ - ["id", args["id"], true], - ["tag", args["tag"], true], - ["scan", args["scan"], true], - ], - }), - }, - { - name: "queries_edit", - title: "Update saved string queries by ID", - description: "Update a saved query's tag, scan setting, or string_matches (pattern). When string_matches is provided, the query parameters and hash are updated. At least one of tag, scan, or string_matches is required.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - }, - "body": { - "properties": { - "id": { - "description": "The query ID to update (required when updating tag or scan)", - "type": "integer" - }, - "scan": { - "description": "Whether to scan matches", - "type": "boolean" - }, - "string_matches": { - "description": "Updated pattern match constraints. When provided, replaces the existing string_matches.", - "items": { - "properties": { - "max_edit_distance": { - "description": "Maximum Levenshtein edit distance for fuzzy matching", - "type": "number" - }, - "pattern": { - "description": "The pattern to match against", - "type": "string" - } - }, - "required": [ - "pattern" - ], - "type": "object" - }, - "type": "array" - }, - "tag": { - "description": "Query tag. Required as identifier when updating string_matches.", - "type": "string" - } - }, - "type": "object" - } - }, - required: [ - "account_id", - "body" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update saved string queries by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/queries", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "queries_get", - title: "Read string queries by ID", - description: "Return string queries based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read string queries by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/queries", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/queries`, - }), - }, -]; diff --git a/src/generated/forge-mcp/ready/tools.ts b/src/generated/forge-mcp/ready/tools.ts index 49e20e01..30a6eaa4 100644 --- a/src/generated/forge-mcp/ready/tools.ts +++ b/src/generated/forge-mcp/ready/tools.ts @@ -11,7 +11,7 @@ export const tools: readonly Tool[] = [ { name: "ready_get", title: "Run readiness checks", - description: "Return a success message after running readiness checks", + description: "Return a success message after running readiness checks.", inputSchema: { type: "object", properties: {}, @@ -27,7 +27,20 @@ export const tools: readonly Tool[] = [ path: "/ready", responses: { schemas: { - "default": { + "2XX": null, + "400": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "403": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "404": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "429": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "500": { "$ref": "#/$defs/brand-protection-api_Error" } }, diff --git a/src/generated/forge-mcp/recentSubmissions/tools.ts b/src/generated/forge-mcp/recentSubmissions/tools.ts deleted file mode 100644 index 4fa4f190..00000000 --- a/src/generated/forge-mcp/recentSubmissions/tools.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `recent_submissions`. - */ -export const tools: readonly Tool[] = [ - { - name: "recent_submissions_get", - title: "Read recent URL submissions", - description: "Return recent URL submissions", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read recent URL submissions" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/recent-submissions", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/recent-submissions`, - }), - }, -]; diff --git a/src/generated/forge-mcp/refute/tools.ts b/src/generated/forge-mcp/refute/tools.ts deleted file mode 100644 index 0758023b..00000000 --- a/src/generated/forge-mcp/refute/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `refute`. - */ -export const tools: readonly Tool[] = [ - { - name: "refute_edit", - title: "Update verification statuses of submitted URLs to disproven by ID", - description: "Return a success message after updating verification statuses of submitted URLs to disproven by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update verification statuses of submitted URLs to disproven by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/refute", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/refute`, - }), - }, -]; diff --git a/src/generated/forge-mcp/rules/lists/items/schemas.ts b/src/generated/forge-mcp/rules/lists/items/schemas.ts index 650c381d..406cc377 100644 --- a/src/generated/forge-mcp/rules/lists/items/schemas.ts +++ b/src/generated/forge-mcp/rules/lists/items/schemas.ts @@ -71,7 +71,7 @@ export const lists_item_redirect: JsonSchema = { "type": "boolean" }, "preserve_path_suffix": { - "default": false, + "default": true, "type": "boolean" }, "preserve_query_string": { diff --git a/src/generated/forge-mcp/scanLogo/tools.ts b/src/generated/forge-mcp/scanLogo/tools.ts deleted file mode 100644 index 85ca1cb3..00000000 --- a/src/generated/forge-mcp/scanLogo/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `scan_logo`. - */ -export const tools: readonly Tool[] = [ - { - name: "scan_logo_create", - title: "Create new logo queries from image files", - description: "Return new logo queries created from image files", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new logo queries from image files" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/scan-logo", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/scan-logo`, - }), - }, -]; diff --git a/src/generated/forge-mcp/scanPage/tools.ts b/src/generated/forge-mcp/scanPage/tools.ts deleted file mode 100644 index 49bf6f42..00000000 --- a/src/generated/forge-mcp/scanPage/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `scan_page`. - */ -export const tools: readonly Tool[] = [ - { - name: "scan_page_create", - title: "Create new logo queries from URLs", - description: "Return new logo queries created from URLs", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new logo queries from URLs" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/scan-page", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/scan-page`, - }), - }, -]; diff --git a/src/generated/forge-mcp/search/tools.ts b/src/generated/forge-mcp/search/tools.ts deleted file mode 100644 index eeaffec4..00000000 --- a/src/generated/forge-mcp/search/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `search`. - */ -export const tools: readonly Tool[] = [ - { - name: "search_create", - title: "Create new string queries", - description: "Return new string queries", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new string queries" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/search", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/search`, - }), - }, -]; diff --git a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts index d03393ab..af0ca6bb 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts @@ -30,21 +30,28 @@ export const secrets_store_identifier_output: JsonSchema = { }; /** - * The schema of `secrets-store_scopes` in responses. + * The schema of `secrets-store_inheritable_scopes` in responses. */ -export const secrets_store_scopes_output: JsonSchema = { - "items": { - "enum": [ - "workers", - "ai_gateway", - "dex", - "access", - "containers", - "websearch" - ], - "type": "string" - }, - "type": "array" +export const secrets_store_inheritable_scopes_output: JsonSchema = { + "oneOf": [ + { + "items": { + "enum": [ + "workers", + "ai_gateway", + "dex", + "access", + "containers", + "websearch" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] }; /** @@ -68,7 +75,7 @@ export const secrets_store_secretObject_output: JsonSchema = { "$ref": "#/$defs/secrets-store_secret_name" }, "scopes": { - "$ref": "#/$defs/secrets-store_scopes" + "$ref": "#/$defs/secrets-store_inheritable_scopes" }, "status": { "$ref": "#/$defs/secrets-store_SecretStatus" diff --git a/src/generated/forge-mcp/secretsStore/secrets/schemas.ts b/src/generated/forge-mcp/secretsStore/secrets/schemas.ts index 64844cfc..c26d1907 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/schemas.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/schemas.ts @@ -26,7 +26,7 @@ export const secrets_store_createSecretObject: JsonSchema = { }, "scopes": { "$ref": "#/$defs/secrets-store_scopes", - "description": "The list of services that can use this secret." + "description": "The list of services that can use this secret. Omit it on create or duplicate to inherit the store's scopes. An empty list lets no service use the secret." }, "value": { "$ref": "#/$defs/secrets-store_value", @@ -35,7 +35,6 @@ export const secrets_store_createSecretObject: JsonSchema = { }, "required": [ "name", - "scopes", "value" ], "type": "object" @@ -76,12 +75,11 @@ export const secrets_store_duplicateSecretObject: JsonSchema = { }, "scopes": { "$ref": "#/$defs/secrets-store_scopes", - "description": "The list of services that can use this secret." + "description": "The list of services that can use this secret. Omit it on create or duplicate to inherit the store's scopes. An empty list lets no service use the secret." } }, "required": [ - "name", - "scopes" + "name" ], "type": "object" }; @@ -94,6 +92,32 @@ export const secrets_store_identifier: JsonSchema = { "type": "string" }; +/** + * The schema of `secrets-store_inheritable_scopes`. + */ +export const secrets_store_inheritable_scopes: JsonSchema = { + "description": "The list of services that can use this secret, or null when the secret inherits its store's scopes. Set it to null in a patch to inherit again. An empty list lets no service use the secret.", + "oneOf": [ + { + "items": { + "enum": [ + "workers", + "ai_gateway", + "dex", + "access", + "containers", + "websearch" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] +}; + /** * The schema of `secrets-store_patchSecretObject`. */ @@ -104,8 +128,8 @@ export const secrets_store_patchSecretObject: JsonSchema = { "description": "Freeform text describing the secret." }, "scopes": { - "$ref": "#/$defs/secrets-store_scopes", - "description": "The list of services that can use this secret." + "$ref": "#/$defs/secrets-store_inheritable_scopes", + "description": "The list of services that can use this secret, or null when the secret inherits its store's scopes. Set it to null in a patch to inherit again. An empty list lets no service use the secret." }, "value": { "$ref": "#/$defs/secrets-store_value", @@ -119,7 +143,7 @@ export const secrets_store_patchSecretObject: JsonSchema = { * The schema of `secrets-store_scopes`. */ export const secrets_store_scopes: JsonSchema = { - "description": "The list of services that can use this secret.", + "description": "The list of services that can use this secret. Omit it on create or duplicate to inherit the store's scopes. An empty list lets no service use the secret.", "items": { "enum": [ "workers", diff --git a/src/generated/forge-mcp/secretsStore/secrets/tools.ts b/src/generated/forge-mcp/secretsStore/secrets/tools.ts index 59f1435d..f0032996 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/tools.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/tools.ts @@ -13,7 +13,7 @@ import { secrets_store_SecretStatus_output, secrets_store_comment_output, secrets_store_identifier_output, - secrets_store_scopes_output, + secrets_store_inheritable_scopes_output, secrets_store_secretObject_output, secrets_store_secret_name_output, } from "./outputs.js"; @@ -23,6 +23,7 @@ import { secrets_store_deleteSecretsRequest, secrets_store_duplicateSecretObject, secrets_store_identifier, + secrets_store_inheritable_scopes, secrets_store_patchSecretObject, secrets_store_scopes, secrets_store_secret_name, @@ -192,8 +193,8 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -266,9 +267,9 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_messages": secrets_store_messages_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -404,8 +405,8 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -447,9 +448,9 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_messages": secrets_store_messages_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -491,8 +492,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "secrets-store_comment": secrets_store_comment, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes, "secrets-store_patchSecretObject": secrets_store_patchSecretObject, - "secrets-store_scopes": secrets_store_scopes, "secrets-store_value": secrets_store_value, }, }, @@ -503,8 +504,8 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -546,9 +547,9 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_messages": secrets_store_messages_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -592,8 +593,8 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -636,9 +637,9 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_messages": secrets_store_messages_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -755,8 +756,8 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, @@ -830,9 +831,9 @@ export const tools: readonly Tool[] = [ "secrets-store_comment": secrets_store_comment_output, "secrets-store_created": secrets_store_created_output, "secrets-store_identifier": secrets_store_identifier_output, + "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes_output, "secrets-store_messages": secrets_store_messages_output, "secrets-store_modified": secrets_store_modified_output, - "secrets-store_scopes": secrets_store_scopes_output, "secrets-store_secretObject": secrets_store_secretObject_output, "secrets-store_secret_name": secrets_store_secret_name_output, "secrets-store_store_identifier": secrets_store_store_identifier_output, diff --git a/src/generated/forge-mcp/signedUrl/tools.ts b/src/generated/forge-mcp/signedUrl/tools.ts index c6a738e2..96057ac5 100644 --- a/src/generated/forge-mcp/signedUrl/tools.ts +++ b/src/generated/forge-mcp/signedUrl/tools.ts @@ -27,7 +27,20 @@ export const tools: readonly Tool[] = [ path: "/signed-url", responses: { schemas: { - "default": { + "2XX": null, + "400": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "403": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "404": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "429": { + "$ref": "#/$defs/brand-protection-api_Error" + }, + "500": { "$ref": "#/$defs/brand-protection-api_Error" } }, diff --git a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts index 8e76b1f6..92fcabff 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts @@ -222,42 +222,6 @@ export const smartshield_name_output: JsonSchema = { "type": "string" }; -/** - * The schema of `smartshield_response_collection` in responses. - */ -export const smartshield_response_collection_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/smartshield_messages" - }, - "messages": { - "$ref": "#/$defs/smartshield_messages" - }, - "result": { - "items": { - "$ref": "#/$defs/smartshield_healthchecks" - }, - "type": "array" - }, - "result_info": { - "$ref": "#/$defs/smartshield_result_info" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - /** * The schema of `smartshield_result_info` in responses. */ @@ -286,78 +250,6 @@ export const smartshield_retries_output: JsonSchema = { "type": "integer" }; -/** - * The schema of `smartshield_single_hc_id_response` in responses. - */ -export const smartshield_single_hc_id_response_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/smartshield_messages" - }, - "messages": { - "$ref": "#/$defs/smartshield_messages" - }, - "result": { - "$ref": "#/$defs/smartshield_single_hc_id_response_result" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - -/** - * The schema of `smartshield_single_hc_id_response_result` in responses. - */ -export const smartshield_single_hc_id_response_result_output: JsonSchema = { - "properties": { - "id": { - "$ref": "#/$defs/smartshield_identifier" - } - }, - "type": "object" -}; - -/** - * The schema of `smartshield_single_hc_response` in responses. - */ -export const smartshield_single_hc_response_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/smartshield_messages" - }, - "messages": { - "$ref": "#/$defs/smartshield_messages" - }, - "result": { - "$ref": "#/$defs/smartshield_healthchecks" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - /** * The schema of `smartshield_status` in responses. */ diff --git a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts index 877fea56..1c679f1f 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts @@ -19,12 +19,8 @@ import { smartshield_identifier_output, smartshield_interval_output, smartshield_name_output, - smartshield_response_collection_output, smartshield_result_info_output, smartshield_retries_output, - smartshield_single_hc_id_response_output, - smartshield_single_hc_id_response_result_output, - smartshield_single_hc_response_output, smartshield_status_output, smartshield_suspended_output, smartshield_tcp_config_output, @@ -140,14 +136,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/smartshield_single_hc_response" - }, - { - "$ref": "#/$defs/smartshield_api-response-common-failure" - } - ] + "$ref": "#/$defs/smartshield_api-response-common-failure" } }, $defs: { @@ -165,7 +154,6 @@ export const tools: readonly Tool[] = [ "smartshield_messages": smartshield_messages_output, "smartshield_name": smartshield_name_output, "smartshield_retries": smartshield_retries_output, - "smartshield_single_hc_response": smartshield_single_hc_response_output, "smartshield_status": smartshield_status_output, "smartshield_suspended": smartshield_suspended_output, "smartshield_tcp_config": smartshield_tcp_config_output, @@ -242,22 +230,13 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/smartshield_single_hc_id_response" - }, - { - "$ref": "#/$defs/smartshield_api-response-common-failure" - } - ] + "$ref": "#/$defs/smartshield_api-response-common-failure" } }, $defs: { "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, "smartshield_identifier": smartshield_identifier_output, "smartshield_messages": smartshield_messages_output, - "smartshield_single_hc_id_response": smartshield_single_hc_id_response_output, - "smartshield_single_hc_id_response_result": smartshield_single_hc_id_response_result_output, }, }, request: (args) => ({ @@ -354,14 +333,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/smartshield_single_hc_response" - }, - { - "$ref": "#/$defs/smartshield_api-response-common-failure" - } - ] + "$ref": "#/$defs/smartshield_api-response-common-failure" } }, $defs: { @@ -379,7 +351,6 @@ export const tools: readonly Tool[] = [ "smartshield_messages": smartshield_messages_output, "smartshield_name": smartshield_name_output, "smartshield_retries": smartshield_retries_output, - "smartshield_single_hc_response": smartshield_single_hc_response_output, "smartshield_status": smartshield_status_output, "smartshield_suspended": smartshield_suspended_output, "smartshield_tcp_config": smartshield_tcp_config_output, @@ -464,14 +435,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/smartshield_single_hc_response" - }, - { - "$ref": "#/$defs/smartshield_api-response-common-failure" - } - ] + "$ref": "#/$defs/smartshield_api-response-common-failure" } }, $defs: { @@ -489,7 +453,6 @@ export const tools: readonly Tool[] = [ "smartshield_messages": smartshield_messages_output, "smartshield_name": smartshield_name_output, "smartshield_retries": smartshield_retries_output, - "smartshield_single_hc_response": smartshield_single_hc_response_output, "smartshield_status": smartshield_status_output, "smartshield_suspended": smartshield_suspended_output, "smartshield_tcp_config": smartshield_tcp_config_output, @@ -607,14 +570,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/smartshield_response_collection" - }, - { - "$ref": "#/$defs/smartshield_api-response-common-failure" - } - ] + "$ref": "#/$defs/smartshield_api-response-common-failure" } }, $defs: { @@ -631,7 +587,6 @@ export const tools: readonly Tool[] = [ "smartshield_interval": smartshield_interval_output, "smartshield_messages": smartshield_messages_output, "smartshield_name": smartshield_name_output, - "smartshield_response_collection": smartshield_response_collection_output, "smartshield_result_info": smartshield_result_info_output, "smartshield_retries": smartshield_retries_output, "smartshield_status": smartshield_status_output, @@ -742,14 +697,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_healthchecks" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/smartshield_single_hc_response" - }, - { - "$ref": "#/$defs/smartshield_api-response-common-failure" - } - ] + "$ref": "#/$defs/smartshield_api-response-common-failure" } }, $defs: { @@ -767,7 +715,6 @@ export const tools: readonly Tool[] = [ "smartshield_messages": smartshield_messages_output, "smartshield_name": smartshield_name_output, "smartshield_retries": smartshield_retries_output, - "smartshield_single_hc_response": smartshield_single_hc_response_output, "smartshield_status": smartshield_status_output, "smartshield_suspended": smartshield_suspended_output, "smartshield_tcp_config": smartshield_tcp_config_output, diff --git a/src/generated/forge-mcp/smartShield/outputs.ts b/src/generated/forge-mcp/smartShield/outputs.ts index 378edbe7..190c752e 100644 --- a/src/generated/forge-mcp/smartShield/outputs.ts +++ b/src/generated/forge-mcp/smartShield/outputs.ts @@ -26,8 +26,6 @@ export const smartshield_api_response_common_failure_output: JsonSchema = { }, "required": [ "errors", - "messages", - "result", "success" ], "type": "object" @@ -55,28 +53,35 @@ export const smartshield_messages_output: JsonSchema = { "type": "array" }; +/** + * The schema of `smartshield_smart_shield_settings_cache_reserve` in responses. + */ +export const smartshield_smart_shield_settings_cache_reserve_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + /** * The schema of `smartshield_smart_shield_settings_get_response` in responses. */ export const smartshield_smart_shield_settings_get_response_output: JsonSchema = { "properties": { "cache_reserve": { - "properties": { - "editable": { - "type": "boolean" - }, - "id": { - "type": "string" - }, - "value": { - "enum": [ - "on", - "off" - ], - "type": "string" - } - }, - "type": "object" + "$ref": "#/$defs/smartshield_smart_shield_settings_cache_reserve" }, "healthchecks_count": { "type": "integer" @@ -107,16 +112,100 @@ export const smartshield_smart_shield_settings_get_response_output: JsonSchema = */ export const smartshield_smart_shield_settings_patch_response_output: JsonSchema = { "properties": { + "cache_reserve": { + "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response_cache_reserve" + }, + "regional_tiered_cache": { + "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response_regional_tiered_cache" + }, + "smart_routing": { + "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response_smart_routing" + }, "smart_tiered_cache": { "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response_smart_tiered_cache" } }, "required": [ + "cache_reserve", + "regional_tiered_cache", + "smart_routing", "smart_tiered_cache" ], "type": "object" }; +/** + * The schema of + * `smartshield_smart_shield_settings_patch_response_cache_reserve` in + * responses. + */ +export const smartshield_smart_shield_settings_patch_response_cache_reserve_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of + * `smartshield_smart_shield_settings_patch_response_regional_tiered_cache` in + * responses. + */ +export const smartshield_smart_shield_settings_patch_response_regional_tiered_cache_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + +/** + * The schema of + * `smartshield_smart_shield_settings_patch_response_smart_routing` in + * responses. + */ +export const smartshield_smart_shield_settings_patch_response_smart_routing_output: JsonSchema = { + "properties": { + "editable": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "value": { + "enum": [ + "on", + "off" + ], + "type": "string" + } + }, + "type": "object" +}; + /** * The schema of * `smartshield_smart_shield_settings_patch_response_smart_tiered_cache` in diff --git a/src/generated/forge-mcp/smartShield/tools.ts b/src/generated/forge-mcp/smartShield/tools.ts index 219b8e87..e0802e87 100644 --- a/src/generated/forge-mcp/smartShield/tools.ts +++ b/src/generated/forge-mcp/smartShield/tools.ts @@ -5,8 +5,12 @@ import { type Tool, pathParam } from "../_/tool.js"; import { smartshield_api_response_common_failure_output, smartshield_messages_output, + smartshield_smart_shield_settings_cache_reserve_output, smartshield_smart_shield_settings_get_response_output, + smartshield_smart_shield_settings_patch_response_cache_reserve_output, smartshield_smart_shield_settings_patch_response_output, + smartshield_smart_shield_settings_patch_response_regional_tiered_cache_output, + smartshield_smart_shield_settings_patch_response_smart_routing_output, smartshield_smart_shield_settings_patch_response_smart_tiered_cache_output, smartshield_smart_shield_settings_regional_tiered_cache_output, smartshield_smart_shield_settings_smart_routing_output, @@ -43,6 +47,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/smartshield_smart_shield_settings_get_response", $defs: { + "smartshield_smart_shield_settings_cache_reserve": smartshield_smart_shield_settings_cache_reserve_output, "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response_output, "smartshield_smart_shield_settings_regional_tiered_cache": smartshield_smart_shield_settings_regional_tiered_cache_output, "smartshield_smart_shield_settings_smart_routing": smartshield_smart_shield_settings_smart_routing_output, @@ -100,6 +105,7 @@ export const tools: readonly Tool[] = [ $defs: { "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, "smartshield_messages": smartshield_messages_output, + "smartshield_smart_shield_settings_cache_reserve": smartshield_smart_shield_settings_cache_reserve_output, "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response_output, "smartshield_smart_shield_settings_regional_tiered_cache": smartshield_smart_shield_settings_regional_tiered_cache_output, "smartshield_smart_shield_settings_smart_routing": smartshield_smart_shield_settings_smart_routing_output, @@ -141,6 +147,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_smart_shield_settings_patch_response", $defs: { "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response_output, + "smartshield_smart_shield_settings_patch_response_cache_reserve": smartshield_smart_shield_settings_patch_response_cache_reserve_output, + "smartshield_smart_shield_settings_patch_response_regional_tiered_cache": smartshield_smart_shield_settings_patch_response_regional_tiered_cache_output, + "smartshield_smart_shield_settings_patch_response_smart_routing": smartshield_smart_shield_settings_patch_response_smart_routing_output, "smartshield_smart_shield_settings_patch_response_smart_tiered_cache": smartshield_smart_shield_settings_patch_response_smart_tiered_cache_output, }, }, @@ -198,6 +207,9 @@ export const tools: readonly Tool[] = [ "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, "smartshield_messages": smartshield_messages_output, "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response_output, + "smartshield_smart_shield_settings_patch_response_cache_reserve": smartshield_smart_shield_settings_patch_response_cache_reserve_output, + "smartshield_smart_shield_settings_patch_response_regional_tiered_cache": smartshield_smart_shield_settings_patch_response_regional_tiered_cache_output, + "smartshield_smart_shield_settings_patch_response_smart_routing": smartshield_smart_shield_settings_patch_response_smart_routing_output, "smartshield_smart_shield_settings_patch_response_smart_tiered_cache": smartshield_smart_shield_settings_patch_response_smart_tiered_cache_output, }, }, diff --git a/src/generated/forge-mcp/source.json b/src/generated/forge-mcp/source.json index 2f3cf00f..8ee718db 100644 --- a/src/generated/forge-mcp/source.json +++ b/src/generated/forge-mcp/source.json @@ -1,3 +1,3 @@ { - "release": "openapi@fdbc7d9b0fdce613501dd81cb37466fbaf0b7cca" + "release": "openapi@1ba4440f11a6cf65410c05e4c4395ad456fbff91" } diff --git a/src/generated/forge-mcp/submissionInfo/tools.ts b/src/generated/forge-mcp/submissionInfo/tools.ts deleted file mode 100644 index c69a35c9..00000000 --- a/src/generated/forge-mcp/submissionInfo/tools.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `submission_info`. - */ -export const tools: readonly Tool[] = [ - { - name: "submission_info_get", - title: "Read URL submissions by ID", - description: "Return URL submissions based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read URL submissions by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/submission-info", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/submission-info`, - }), - }, -]; diff --git a/src/generated/forge-mcp/submit/outputs.ts b/src/generated/forge-mcp/submit/outputs.ts deleted file mode 100644 index 651b4dca..00000000 --- a/src/generated/forge-mcp/submit/outputs.ts +++ /dev/null @@ -1,25 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `brand-protection-api_URLSubmit` in responses. - */ -export const brand_protection_api_URLSubmit_output: JsonSchema = { - "properties": { - "skipped_urls": { - "items": { - "type": "object" - }, - "type": "array" - }, - "submitted_urls": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" -}; diff --git a/src/generated/forge-mcp/submit/tools.ts b/src/generated/forge-mcp/submit/tools.ts deleted file mode 100644 index 5c22e5ea..00000000 --- a/src/generated/forge-mcp/submit/tools.ts +++ /dev/null @@ -1,65 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; -import { brand_protection_api_URLSubmit_output } from "./outputs.js"; - -/** - * The tools of `submit`. - */ -export const tools: readonly Tool[] = [ - { - name: "submit_create", - title: "Create new URL submissions", - description: "Return new URL submissions", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/brand-protection-api_URLSubmit", - $defs: { - "brand-protection-api_URLSubmit": brand_protection_api_URLSubmit_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Create new URL submissions" - }, - method: "POST", - path: "/accounts/{account_id}/brand-protection/submit", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "201": { - "$ref": "#/$defs/brand-protection-api_URLSubmit" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - "brand-protection-api_URLSubmit": brand_protection_api_URLSubmit_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/submit`, - }), - }, -]; diff --git a/src/generated/forge-mcp/tags/accountResources/schemas.ts b/src/generated/forge-mcp/tags/accountResources/schemas.ts index 875dbb4c..381e263a 100644 --- a/src/generated/forge-mcp/tags/accountResources/schemas.ts +++ b/src/generated/forge-mcp/tags/accountResources/schemas.ts @@ -16,6 +16,7 @@ export const resource_tagging_account_resource_type: JsonSchema = { "account_ruleset", "ai_gateway", "ai_search_instance", + "ai_search_namespace", "alerting_policy", "alerting_webhook", "cloudflared_tunnel", @@ -60,6 +61,7 @@ export const resource_tagging_account_resource_type_base_enum: JsonSchema = { "account_ruleset", "ai_gateway", "ai_search_instance", + "ai_search_namespace", "alerting_policy", "alerting_webhook", "cloudflared_tunnel", diff --git a/src/generated/forge-mcp/tags/accountResources/tools.ts b/src/generated/forge-mcp/tags/accountResources/tools.ts index 1bfca7ce..46fc6d9d 100644 --- a/src/generated/forge-mcp/tags/accountResources/tools.ts +++ b/src/generated/forge-mcp/tags/accountResources/tools.ts @@ -21,6 +21,7 @@ import { resource_tagging_tagged_resource_object_account_ruleset_output, resource_tagging_tagged_resource_object_ai_gateway_output, resource_tagging_tagged_resource_object_ai_search_instance_output, + resource_tagging_tagged_resource_object_ai_search_namespace_output, resource_tagging_tagged_resource_object_alerting_policy_output, resource_tagging_tagged_resource_object_alerting_webhook_output, resource_tagging_tagged_resource_object_api_gateway_operation_output, @@ -237,6 +238,7 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource_tagging_tagged_resource_object_ai_search_namespace_output, "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, @@ -332,6 +334,7 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource_tagging_tagged_resource_object_ai_search_namespace_output, "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, @@ -449,6 +452,7 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource_tagging_tagged_resource_object_ai_search_namespace_output, "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, @@ -547,6 +551,7 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource_tagging_tagged_resource_object_ai_search_namespace_output, "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, diff --git a/src/generated/forge-mcp/tags/outputs.ts b/src/generated/forge-mcp/tags/outputs.ts index 42781a1a..6f57a7ad 100644 --- a/src/generated/forge-mcp/tags/outputs.ts +++ b/src/generated/forge-mcp/tags/outputs.ts @@ -176,6 +176,9 @@ export const resource_tagging_tagged_resource_object_output: JsonSchema = { { "$ref": "#/$defs/resource-tagging_tagged_resource_object_ai_search_instance" }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_ai_search_namespace" + }, { "$ref": "#/$defs/resource-tagging_tagged_resource_object_alerting_policy" }, @@ -569,6 +572,32 @@ export const resource_tagging_tagged_resource_object_ai_search_instance_output: ] }; +/** + * The schema of `resource-tagging_tagged_resource_object_ai_search_namespace` + * in responses. + */ +export const resource_tagging_tagged_resource_object_ai_search_namespace_output: JsonSchema = { + "allOf": [ + { + "properties": { + "type": { + "enum": [ + "ai_search_namespace" + ], + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "$ref": "#/$defs/resource-tagging_tagged_resource_object_account_level_base" + } + ] +}; + /** * The schema of `resource-tagging_tagged_resource_object_alerting_policy` in * responses. diff --git a/src/generated/forge-mcp/tags/resources/tools.ts b/src/generated/forge-mcp/tags/resources/tools.ts index 995c793d..a5d53edc 100644 --- a/src/generated/forge-mcp/tags/resources/tools.ts +++ b/src/generated/forge-mcp/tags/resources/tools.ts @@ -22,6 +22,7 @@ import { resource_tagging_tagged_resource_object_account_ruleset_output, resource_tagging_tagged_resource_object_ai_gateway_output, resource_tagging_tagged_resource_object_ai_search_instance_output, + resource_tagging_tagged_resource_object_ai_search_namespace_output, resource_tagging_tagged_resource_object_alerting_policy_output, resource_tagging_tagged_resource_object_alerting_webhook_output, resource_tagging_tagged_resource_object_api_gateway_operation_output, @@ -170,6 +171,7 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource_tagging_tagged_resource_object_ai_search_namespace_output, "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, @@ -280,6 +282,7 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_account_ruleset": resource_tagging_tagged_resource_object_account_ruleset_output, "resource-tagging_tagged_resource_object_ai_gateway": resource_tagging_tagged_resource_object_ai_gateway_output, "resource-tagging_tagged_resource_object_ai_search_instance": resource_tagging_tagged_resource_object_ai_search_instance_output, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource_tagging_tagged_resource_object_ai_search_namespace_output, "resource-tagging_tagged_resource_object_alerting_policy": resource_tagging_tagged_resource_object_alerting_policy_output, "resource-tagging_tagged_resource_object_alerting_webhook": resource_tagging_tagged_resource_object_alerting_webhook_output, "resource-tagging_tagged_resource_object_api_gateway_operation": resource_tagging_tagged_resource_object_api_gateway_operation_output, diff --git a/src/generated/forge-mcp/tags/schemas.ts b/src/generated/forge-mcp/tags/schemas.ts index 016be79f..a48857ba 100644 --- a/src/generated/forge-mcp/tags/schemas.ts +++ b/src/generated/forge-mcp/tags/schemas.ts @@ -25,6 +25,7 @@ export const resource_tagging_resource_type: JsonSchema = { "account_ruleset", "ai_gateway", "ai_search_instance", + "ai_search_namespace", "alerting_policy", "alerting_webhook", "api_gateway_operation", diff --git a/src/generated/forge-mcp/totalQueries/tools.ts b/src/generated/forge-mcp/totalQueries/tools.ts deleted file mode 100644 index 28ed68bc..00000000 --- a/src/generated/forge-mcp/totalQueries/tools.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `total_queries`. - */ -export const tools: readonly Tool[] = [ - { - name: "total_queries_get", - title: "Read the total number of saved string queries", - description: "Return the total number of saved string queries", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read the total number of saved string queries" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/total-queries", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/total-queries`, - }), - }, -]; diff --git a/src/generated/forge-mcp/trackedDomains/tools.ts b/src/generated/forge-mcp/trackedDomains/tools.ts deleted file mode 100644 index 5887b767..00000000 --- a/src/generated/forge-mcp/trackedDomains/tools.ts +++ /dev/null @@ -1,55 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `tracked_domains`. - */ -export const tools: readonly Tool[] = [ - { - name: "tracked_domains_get", - title: "Read submitted domains by pattern", - description: "Return submitted domains based on pattern", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read submitted domains by pattern" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/tracked-domains", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/tracked-domains`, - }), - }, -]; diff --git a/src/generated/forge-mcp/urlInfo/outputs.ts b/src/generated/forge-mcp/urlInfo/outputs.ts deleted file mode 100644 index 847d5d37..00000000 --- a/src/generated/forge-mcp/urlInfo/outputs.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `brand-protection-api_URLInfo` in responses. - */ -export const brand_protection_api_URLInfo_output: JsonSchema = { - "properties": { - "result": { - "items": { - "type": "object" - }, - "type": "array" - } - }, - "type": "object" -}; diff --git a/src/generated/forge-mcp/urlInfo/tools.ts b/src/generated/forge-mcp/urlInfo/tools.ts deleted file mode 100644 index bb14d992..00000000 --- a/src/generated/forge-mcp/urlInfo/tools.ts +++ /dev/null @@ -1,66 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; -import { brand_protection_api_URLInfo_output } from "./outputs.js"; - -/** - * The tools of `url_info`. - */ -export const tools: readonly Tool[] = [ - { - name: "url_info_get", - title: "Read submitted URLs by ID", - description: "Return submitted URLs based on ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - outputSchema: { - "$ref": "#/$defs/brand-protection-api_URLInfo", - $defs: { - "brand-protection-api_URLInfo": brand_protection_api_URLInfo_output, - }, - }, - annotations: { - "destructiveHint": false, - "idempotentHint": true, - "openWorldHint": true, - "readOnlyHint": true, - "title": "Read submitted URLs by ID" - }, - method: "GET", - path: "/accounts/{account_id}/brand-protection/url-info", - extensions: { - "x-api-token-group": [ - "Intel Write", - "Intel Read" - ] - }, - responses: { - schemas: { - "200": { - "$ref": "#/$defs/brand-protection-api_URLInfo" - }, - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - "brand-protection-api_URLInfo": brand_protection_api_URLInfo_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/url-info`, - }), - }, -]; diff --git a/src/generated/forge-mcp/verify/tools.ts b/src/generated/forge-mcp/verify/tools.ts deleted file mode 100644 index 560fda65..00000000 --- a/src/generated/forge-mcp/verify/tools.ts +++ /dev/null @@ -1,54 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import { type Tool, pathParam } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; - -/** - * The tools of `verify`. - */ -export const tools: readonly Tool[] = [ - { - name: "verify_edit", - title: "Update verification statuses of submitted URLs to confirmed by ID", - description: "Return a success message after updating verification statuses of submitted URLs to confirmed by ID", - inputSchema: { - type: "object", - properties: { - "account_id": { - "type": "string" - } - }, - required: [ - "account_id" - ], - }, - annotations: { - "destructiveHint": false, - "idempotentHint": false, - "openWorldHint": true, - "readOnlyHint": false, - "title": "Update verification statuses of submitted URLs to confirmed by ID" - }, - method: "PATCH", - path: "/accounts/{account_id}/brand-protection/verify", - extensions: { - "x-api-token-group": [ - "Intel Write" - ] - }, - responses: { - schemas: { - "default": { - "$ref": "#/$defs/brand-protection-api_Error" - } - }, - $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/brand-protection/verify`, - }), - }, -]; diff --git a/src/generated/forge-mcp/workers/versions/tools.ts b/src/generated/forge-mcp/workers/versions/tools.ts index 3cc3d87b..aca70305 100644 --- a/src/generated/forge-mcp/workers/versions/tools.ts +++ b/src/generated/forge-mcp/workers/versions/tools.ts @@ -1207,7 +1207,7 @@ export const tools: readonly Tool[] = [ "body": { "properties": { "actor_id": { - "description": "Identifies the exact Durable Object actor to profile. Must be specified together with namespace_id. The actor must currently be active and running the requested Worker version.", + "description": "Identifies the exact Durable Object actor to profile. Must be specified together with namespace_id. The actor must currently be active and running the requested version.", "type": "string" }, "duration_ms": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts index 18bf23e4..62931e5c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts @@ -3,6 +3,7 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { + posture_api_api_response_common_output, posture_api_error_response_output, posture_api_messages_output, } from "../outputs.js"; @@ -71,10 +72,14 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_AssetSchemaDetail": posture_api_AssetSchemaDetail_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -185,11 +190,15 @@ export const tools: readonly Tool[] = [ }, "403": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_AssetSchemaSummary": posture_api_AssetSchemaSummary_output, "posture-api_AssetSchemaVendorGroup": posture_api_AssetSchemaVendorGroup_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts index fb3c8c60..d812f399 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts @@ -87,12 +87,17 @@ export const tools: readonly Tool[] = [ "200": { "$ref": "#/$defs/posture-api_ExportJob" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_ExportJob": posture_api_ExportJob_output, "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts index 0ae51dd2..27dbb2a7 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts @@ -6,6 +6,8 @@ import { posture_api_ExportJobTypeEnum_output, posture_api_ExportJob_output, posture_api_StatusEnum_output, + posture_api_api_response_common_output, + posture_api_messages_output, posture_api_result_info_output, } from "../outputs.js"; import { posture_api_StatusEnum } from "../schemas.js"; @@ -64,12 +66,17 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_ExportJob" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_ExportJob": posture_api_ExportJob_output, "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -164,12 +171,17 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_ExportJob": posture_api_ExportJob_output, "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, "posture-api_result-info": posture_api_result_info_output, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts index f1c98124..42b68121 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts @@ -2,7 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; -import { posture_api_result_info_output } from "../../outputs.js"; +import { + posture_api_api_response_common_output, + posture_api_messages_output, + posture_api_result_info_output, +} from "../../outputs.js"; import { posture_api_RemediationType_output } from "./outputs.js"; /** @@ -104,10 +108,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_RemediationType": posture_api_RemediationType_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, "posture-api_result-info": posture_api_result_info_output, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts index 9e51bb7b..5605ab70 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts @@ -9,6 +9,7 @@ import { posture_api_ObservationEnum_output, posture_api_ProductEnum_output, posture_api_SeverityEnum_output, + posture_api_api_response_common_output, posture_api_error_response_output, posture_api_messages_output, posture_api_result_info_output, @@ -106,6 +107,9 @@ export const tools: readonly Tool[] = [ "422": { "$ref": "#/$defs/posture-api_error-response" }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + }, "500": { "$ref": "#/$defs/posture-api_error-response" } @@ -117,6 +121,7 @@ export const tools: readonly Tool[] = [ "posture-api_ObservationEnum": posture_api_ObservationEnum_output, "posture-api_ProductEnum": posture_api_ProductEnum_output, "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_custom-finding-type-response": posture_api_custom_finding_type_response_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, @@ -178,11 +183,15 @@ export const tools: readonly Tool[] = [ "409": { "$ref": "#/$defs/posture-api_error-response" }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + }, "500": { "$ref": "#/$defs/posture-api_error-response" } }, $defs: { + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -246,7 +255,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_BaseFindingType" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_BaseFindingType": posture_api_BaseFindingType_output, @@ -256,6 +268,8 @@ export const tools: readonly Tool[] = [ "posture-api_ObservationEnum": posture_api_ObservationEnum_output, "posture-api_ProductEnum": posture_api_ProductEnum_output, "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -424,6 +438,9 @@ export const tools: readonly Tool[] = [ "400": null, "403": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -434,6 +451,7 @@ export const tools: readonly Tool[] = [ "posture-api_ObservationEnum": posture_api_ObservationEnum_output, "posture-api_ProductEnum": posture_api_ProductEnum_output, "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, "posture-api_result-info": posture_api_result_info_output, @@ -536,6 +554,9 @@ export const tools: readonly Tool[] = [ "422": { "$ref": "#/$defs/posture-api_error-response" }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + }, "500": { "$ref": "#/$defs/posture-api_error-response" } @@ -547,6 +568,7 @@ export const tools: readonly Tool[] = [ "posture-api_ObservationEnum": posture_api_ObservationEnum_output, "posture-api_ProductEnum": posture_api_ProductEnum_output, "posture-api_SeverityEnum": posture_api_SeverityEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_custom-finding-type-response": posture_api_custom_finding_type_response_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, @@ -617,6 +639,9 @@ export const tools: readonly Tool[] = [ "403": { "$ref": "#/$defs/posture-api_error-response" }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + }, "500": { "$ref": "#/$defs/posture-api_error-response" } @@ -624,6 +649,7 @@ export const tools: readonly Tool[] = [ $defs: { "posture-api_FindingTypeValidationError": posture_api_FindingTypeValidationError_output, "posture-api_ValidateFindingTypeResult": posture_api_ValidateFindingTypeResult_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts index 71e43f6b..ebdc3cbf 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts @@ -8,6 +8,8 @@ import { posture_api_ExportJob_output, posture_api_RemediationJobStatusEnum_output, posture_api_StatusEnum_output, + posture_api_api_response_common_output, + posture_api_messages_output, posture_api_result_info_output, } from "../../outputs.js"; import { posture_api_DirectionEnum } from "../../schemas.js"; @@ -92,7 +94,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingInstance" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_Asset": posture_api_Asset_output, @@ -104,6 +109,8 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -169,12 +176,17 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_ExportJob" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_ExportJob": posture_api_ExportJob_output, "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -245,7 +257,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingInstance" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_Asset": posture_api_Asset_output, @@ -257,6 +272,8 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -427,7 +444,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_Asset": posture_api_Asset_output, @@ -439,6 +459,8 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, "posture-api_result-info": posture_api_result_info_output, }, }, @@ -522,7 +544,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingInstance" }, "400": null, - "404": null + "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_Asset": posture_api_Asset_output, @@ -534,6 +559,8 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, "posture-api_WebhookInvocationSummary_latest_job": posture_api_WebhookInvocationSummary_latest_job_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts index ed065301..1e27f5e6 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts @@ -61,8 +61,12 @@ export const posture_api_FindingExportFilterRequest: JsonSchema = { "type": "array" }, "product": { - "$ref": "#/$defs/posture-api_FindingExportFilterRequest_product", - "description": "Filter by finding's category product." + "description": "Filter by finding's category product.", + "enum": [ + "SaaS", + "Cloud" + ], + "type": "string" }, "search": { "description": "A search term.", @@ -86,24 +90,6 @@ export const posture_api_FindingExportFilterRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_FindingExportFilterRequest_product`. - */ -export const posture_api_FindingExportFilterRequest_product: JsonSchema = { - "description": "Filter by finding's category product.", - "oneOf": [ - { - "$ref": "#/$defs/posture-api_ProductEnum" - }, - { - "$ref": "#/$defs/posture-api_NullEnum" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `posture-api_FindingExportOrderFilterRequest`. */ @@ -133,13 +119,6 @@ export const posture_api_FindingExportOrderFilterRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_NullEnum`. - */ -export const posture_api_NullEnum: JsonSchema = { - "type": "null" -}; - /** * The schema of `posture-api_SeveritiesEnum`. */ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts index 57acb53c..dade6b7c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts @@ -17,13 +17,13 @@ import { posture_api_StatusEnum_output, posture_api_Vendor_output, posture_api_ZeroTrustProduct_output, + posture_api_api_response_common_output, posture_api_error_response_output, posture_api_messages_output, posture_api_result_info_output, } from "../outputs.js"; import { posture_api_DirectionEnum, - posture_api_ProductEnum, posture_api_VendorsEnum, } from "../schemas.js"; import { @@ -35,9 +35,7 @@ import { import { posture_api_FindingBulkActionRequest, posture_api_FindingExportFilterRequest, - posture_api_FindingExportFilterRequest_product, posture_api_FindingExportOrderFilterRequest, - posture_api_NullEnum, posture_api_SeveritiesEnum, posture_api_TuneFindingSeverityRequest, } from "./schemas.js"; @@ -67,10 +65,7 @@ export const tools: readonly Tool[] = [ $defs: { "posture-api_DirectionEnum": posture_api_DirectionEnum, "posture-api_FindingExportFilterRequest": posture_api_FindingExportFilterRequest, - "posture-api_FindingExportFilterRequest_product": posture_api_FindingExportFilterRequest_product, "posture-api_FindingExportOrderFilterRequest": posture_api_FindingExportOrderFilterRequest, - "posture-api_NullEnum": posture_api_NullEnum, - "posture-api_ProductEnum": posture_api_ProductEnum, "posture-api_SeveritiesEnum": posture_api_SeveritiesEnum, "posture-api_VendorsEnum": posture_api_VendorsEnum, }, @@ -103,12 +98,17 @@ export const tools: readonly Tool[] = [ "200": { "$ref": "#/$defs/posture-api_ExportJob" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_ExportJob": posture_api_ExportJob_output, "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -189,6 +189,9 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -207,6 +210,7 @@ export const tools: readonly Tool[] = [ "posture-api_SeverityEnum": posture_api_SeverityEnum_output, "posture-api_Vendor": posture_api_Vendor_output, "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -277,7 +281,10 @@ export const tools: readonly Tool[] = [ "200": { "$ref": "#/$defs/posture-api_Finding" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, @@ -295,6 +302,8 @@ export const tools: readonly Tool[] = [ "posture-api_SeverityEnum": posture_api_SeverityEnum_output, "posture-api_Vendor": posture_api_Vendor_output, "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -496,6 +505,9 @@ export const tools: readonly Tool[] = [ }, "403": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -514,6 +526,7 @@ export const tools: readonly Tool[] = [ "posture-api_SeverityEnum": posture_api_SeverityEnum_output, "posture-api_Vendor": posture_api_Vendor_output, "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, "posture-api_result-info": posture_api_result_info_output, @@ -604,6 +617,9 @@ export const tools: readonly Tool[] = [ }, "400": null, "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + }, "500": { "$ref": "#/$defs/posture-api_error-response" } @@ -624,6 +640,7 @@ export const tools: readonly Tool[] = [ "posture-api_SeverityEnum": posture_api_SeverityEnum_output, "posture-api_Vendor": posture_api_Vendor_output, "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -702,6 +719,9 @@ export const tools: readonly Tool[] = [ }, "400": null, "404": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + }, "500": { "$ref": "#/$defs/posture-api_error-response" } @@ -722,6 +742,7 @@ export const tools: readonly Tool[] = [ "posture-api_SeverityEnum": posture_api_SeverityEnum_output, "posture-api_Vendor": posture_api_Vendor_output, "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -793,7 +814,10 @@ export const tools: readonly Tool[] = [ "200": { "$ref": "#/$defs/posture-api_Finding" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, @@ -811,6 +835,8 @@ export const tools: readonly Tool[] = [ "posture-api_SeverityEnum": posture_api_SeverityEnum_output, "posture-api_Vendor": posture_api_Vendor_output, "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts index 53626055..ea08d4b3 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts @@ -3,6 +3,7 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { + posture_api_api_response_common_output, posture_api_error_response_output, posture_api_messages_output, posture_api_result_info_output, @@ -91,6 +92,9 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -98,6 +102,7 @@ export const tools: readonly Tool[] = [ "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, "posture-api_PolicyResponse": posture_api_PolicyResponse_output, "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -165,10 +170,14 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_DeletePolicyResponse": posture_api_DeletePolicyResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -239,6 +248,9 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -246,6 +258,7 @@ export const tools: readonly Tool[] = [ "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, "posture-api_PolicyResponse": posture_api_PolicyResponse_output, "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -340,6 +353,9 @@ export const tools: readonly Tool[] = [ }, "403": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -347,6 +363,7 @@ export const tools: readonly Tool[] = [ "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, "posture-api_PolicyResponse": posture_api_PolicyResponse_output, "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, "posture-api_result-info": posture_api_result_info_output, @@ -430,6 +447,9 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -437,6 +457,7 @@ export const tools: readonly Tool[] = [ "posture-api_PolicyRemediationTypeResponse": posture_api_PolicyRemediationTypeResponse_output, "posture-api_PolicyResponse": posture_api_PolicyResponse_output, "posture-api_PolicyWebhookConfigResponse": posture_api_PolicyWebhookConfigResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts index 9f400885..221aa22c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts @@ -7,6 +7,7 @@ import { posture_api_ExportJob_output, posture_api_RemediationJobStatusEnum_output, posture_api_StatusEnum_output, + posture_api_api_response_common_output, posture_api_error_response_output, posture_api_messages_output, } from "../../outputs.js"; @@ -97,6 +98,9 @@ export const tools: readonly Tool[] = [ }, "409": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -110,6 +114,7 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobFailure": posture_api_RemediationJobFailure_output, "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, "posture-api_VendorsDisplayNameEnum": posture_api_VendorsDisplayNameEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -172,12 +177,17 @@ export const tools: readonly Tool[] = [ "200": { "$ref": "#/$defs/posture-api_ExportJob" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_ExportJob": posture_api_ExportJob_output, "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, "posture-api_StatusEnum": posture_api_StatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ @@ -329,7 +339,10 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "400": null + "400": null, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" + } }, $defs: { "posture-api_PaginatedRemediationJobList_result_info": posture_api_PaginatedRemediationJobList_result_info_output, @@ -340,6 +353,8 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobAssetField_value": posture_api_RemediationJobAssetField_value_output, "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, "posture-api_VendorsDisplayNameEnum": posture_api_VendorsDisplayNameEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, + "posture-api_messages": posture_api_messages_output, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/schemas.ts index 681e3d42..0b26799c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/schemas.ts @@ -53,18 +53,6 @@ export const posture_api_FindingTypeVendorsEnum: JsonSchema = { "type": "string" }; -/** - * The schema of `posture-api_ProductEnum`. - */ -export const posture_api_ProductEnum: JsonSchema = { - "description": "The product category.", - "enum": [ - "SaaS", - "Cloud" - ], - "type": "string" -}; - /** * The schema of `posture-api_RemediationJobStatusEnum`. */ diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts index 42d2f2cb..63ad03cc 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts @@ -3,6 +3,7 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { + posture_api_api_response_common_output, posture_api_error_response_output, posture_api_messages_output, } from "../../outputs.js"; @@ -120,6 +121,9 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -129,6 +133,7 @@ export const tools: readonly Tool[] = [ "posture-api_WebhookJobFailureReasonEnum": posture_api_WebhookJobFailureReasonEnum_output, "posture-api_WebhookJobParameters": posture_api_WebhookJobParameters_output, "posture-api_WebhookJobStatusEnum": posture_api_WebhookJobStatusEnum_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts index 3eb5ed74..76b24134 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts @@ -84,11 +84,15 @@ export const tools: readonly Tool[] = [ }, "422": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_Webhook": posture_api_Webhook_output, "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -149,6 +153,9 @@ export const tools: readonly Tool[] = [ "400": null, "409": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { @@ -218,10 +225,14 @@ export const tools: readonly Tool[] = [ }, "403": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_EvaluateNewWebhookResponse": posture_api_EvaluateNewWebhookResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -289,10 +300,14 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_EvaluateNewWebhookResponse": posture_api_EvaluateNewWebhookResponse_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -361,11 +376,15 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_Webhook": posture_api_Webhook_output, "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -450,11 +469,15 @@ export const tools: readonly Tool[] = [ }, "403": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_Webhook": posture_api_Webhook_output, "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, @@ -530,11 +553,15 @@ export const tools: readonly Tool[] = [ }, "404": { "$ref": "#/$defs/posture-api_error-response" + }, + "429": { + "$ref": "#/$defs/posture-api_api-response-common" } }, $defs: { "posture-api_Webhook": posture_api_Webhook_output, "posture-api_Webhook_headersItem": posture_api_Webhook_headersItem_output, + "posture-api_api-response-common": posture_api_api_response_common_output, "posture-api_error-response": posture_api_error_response_output, "posture-api_messages": posture_api_messages_output, }, diff --git a/src/generated/forge-mcp/zones/aegis/tools.ts b/src/generated/forge-mcp/zones/aegis/tools.ts index e9936e46..9a09fb00 100644 --- a/src/generated/forge-mcp/zones/aegis/tools.ts +++ b/src/generated/forge-mcp/zones/aegis/tools.ts @@ -16,6 +16,80 @@ import { cache_settings_aegis_value } from "./schemas.js"; * The tools of `zones.aegis`. */ export const tools: readonly Tool[] = [ + { + name: "zones_aegis_delete", + title: "Delete aegis setting", + description: "Aegis provides dedicated egress IPs (from Cloudflare to your origin) for your layer 7 WAF and CDN services. The egress IPs are reserved exclusively for your account so that you can increase your origin security by only allowing traffic from a small list of IP addresses.", + inputSchema: { + type: "object", + properties: { + "zone_id": { + "description": "Identifier.", + "type": "string" + } + }, + required: [ + "zone_id" + ], + }, + outputSchema: { + "$ref": "#/$defs/cache-settings_aegis", + $defs: { + "cache-settings_aegis": cache_settings_aegis_output, + "cache-settings_aegis_value": cache_settings_aegis_value_output, + }, + }, + annotations: { + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": true, + "readOnlyHint": false, + "title": "Delete aegis setting" + }, + method: "DELETE", + path: "/zones/{zone_id}/settings/aegis", + extensions: { + "x-api-token-group": [ + "Zone Settings Write", + "Zone Write" + ], + "x-cfPermissionsRequired": { + "enum": [ + "#zone_settings:edit" + ], + "x-fern-enum": { + "#zone_settings:edit": { + "name": "zone_settings_edit" + } + } + }, + "x-cfPlanAvailability": { + "business": false, + "enterprise": true, + "free": false, + "pro": false + } + }, + responses: { + schemas: { + "200": { + "$ref": "#/$defs/cache-settings_aegis" + }, + "4XX": { + "$ref": "#/$defs/cache-settings_api-response-common-failure" + } + }, + $defs: { + "cache-settings_aegis": cache_settings_aegis_output, + "cache-settings_aegis_value": cache_settings_aegis_value_output, + "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, + "cache-settings_messages": cache_settings_messages_output, + }, + }, + request: (args) => ({ + path: `/zones/${pathParam(args, "zone_id")}/settings/aegis`, + }), + }, { name: "zones_aegis_edit", title: "Change aegis setting", diff --git a/src/generated/forge-mcp/zones/subscriptions/outputs.ts b/src/generated/forge-mcp/zones/subscriptions/outputs.ts index 8237828e..1a8cc166 100644 --- a/src/generated/forge-mcp/zones/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/zones/subscriptions/outputs.ts @@ -3,53 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `bill-subs-api_api-response-single` in responses. - */ -export const bill_subs_api_api_response_single_output: JsonSchema = { - "properties": { - "errors": { - "$ref": "#/$defs/bill-subs-api_messages" - }, - "messages": { - "$ref": "#/$defs/bill-subs-api_messages" - }, - "result": { - "$ref": "#/$defs/bill-subs-api_api-response-single_result" - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "required": [ - "errors", - "messages", - "result", - "success" - ], - "type": "object" -}; - -/** - * The schema of `bill-subs-api_api-response-single_result` in responses. - */ -export const bill_subs_api_api_response_single_result_output: JsonSchema = { - "anyOf": [ - { - "type": "object" - }, - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `bill-subs-api_frequency_response` in responses. */ diff --git a/src/generated/forge-mcp/zones/subscriptions/tools.ts b/src/generated/forge-mcp/zones/subscriptions/tools.ts index f3395b03..ff658a49 100644 --- a/src/generated/forge-mcp/zones/subscriptions/tools.ts +++ b/src/generated/forge-mcp/zones/subscriptions/tools.ts @@ -32,8 +32,6 @@ import { bill_subs_api_zone, } from "../../schemas.js"; import { - bill_subs_api_api_response_single_output, - bill_subs_api_api_response_single_result_output, bill_subs_api_frequency_response_output, bill_subs_api_subscription_response_output, } from "./outputs.js"; @@ -232,33 +230,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "4XX": { - "allOf": [ - { - "$ref": "#/$defs/bill-subs-api_api-response-single" - }, - { - "properties": { - "result": { - "properties": { - "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" - } - }, - "type": "object" - } - }, - "type": "object" - }, - { - "$ref": "#/$defs/bill-subs-api_api-response-common-failure" - } - ] + "$ref": "#/$defs/bill-subs-api_api-response-common-failure" } }, $defs: { "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_api-response-single_result": bill_subs_api_api_response_single_result_output, "bill-subs-api_messages": bill_subs_api_messages_output, "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, },